Module: synfig
Branch: genete_canvasview
Commit: 5972a426cb5de596a99471fd5f3235fdd2bf51a8
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=5972a426cb5de596a99471fd5f3235fdd2bf51a8

Author: Carlos Lopez <car...@pcnuevo.(none)>
Date:   Sun Jun 28 20:39:33 2009 +0200

Trying to prevent a crash when changing render quality meanwhile updating work 
area.

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp 
b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
index 7e77704..0d1112b 100644
--- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp
+++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp
@@ -3187,6 +3187,13 @@ CanvasView::toggle_low_res_pixel_flag()
 void
 CanvasView::update_quality()
 {
+       if(working_depth)
+               {
+                       quality_spin->set_sensitive(false);
+                       return;
+               }
+       else
+               quality_spin->set_sensitive(true);
        if(updating_quality_)
                return;
        updating_quality_=true;


------------------------------------------------------------------------------
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to