From: Carlos Lopez Date: Sun, 28 Jun 2009 18:39:33 +0000 (+0200) Subject: Trying to prevent a crash when changing render quality meanwhile updating work area. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0576e63534a83920fb3a0ce058eb30f4d22cd755;p=synfig.git Trying to prevent a crash when changing render quality meanwhile updating work area. --- 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;