Module: synfig
Branch: zelgadis_master
Commit: 0576e63534a83920fb3a0ce058eb30f4d22cd755
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=0576e63534a83920fb3a0ce058eb30f4d22cd755

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;


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to