Trying to prevent a crash when changing render quality meanwhile updating work area.
authorCarlos Lopez <carlos@pcnuevo.(none)>
Sun, 28 Jun 2009 18:39:33 +0000 (20:39 +0200)
committerCarlos Lopez <carlos@pcnuevo.(none)>
Mon, 13 Jul 2009 18:07:45 +0000 (20:07 +0200)
synfig-studio/trunk/src/gtkmm/canvasview.cpp

index 7e77704..0d1112b 100644 (file)
@@ -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;