Code

do not set value if widget is updating
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 5 Sep 2007 16:09:04 +0000 (16:09 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 5 Sep 2007 16:09:04 +0000 (16:09 +0000)
src/live_effects/parameter/parameter.cpp

index 94d5e3f8e3e26d4012cd1c8d4875ed62f33a7ecb..0e9295a20bebb26d15455c302278ce90c6dabb45 100644 (file)
@@ -98,7 +98,7 @@ ScalarParam::param_set_value(gdouble val)
     if (value < min)\r
         value = min;\r
 \r
-    if (rsu)\r
+    if (rsu && !rsu->is_updating())\r
         rsu->setValue(value);\r
 }\r
 \r