Code

fix "last effect settings..." that used to run the effect immediately.
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 10 Mar 2008 20:38:54 +0000 (20:38 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 10 Mar 2008 20:38:54 +0000 (20:38 +0000)
src/verbs.cpp

index 674ccdd82bc8996065bb18922a0a956e1119b85e..f4428a2ac480e73c3da873d892ad515a5c0ed133 100644 (file)
@@ -1970,9 +1970,8 @@ EffectLastVerb::perform(SPAction *action, void *data, void */*pdata*/)
 
     switch ((long) data) {
         case SP_VERB_EFFECT_LAST_PREF:
-            if (!effect->prefs(current_view))
-                return;
-            /* Note: fall through */
+            effect->prefs(current_view);
+            break;
         case SP_VERB_EFFECT_LAST:
             effect->effect(current_view);
             break;