summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 5bbb1d0079..37ffcb83d4 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -3735,8 +3735,7 @@ Editor::delete_ ()
//special case: if the user is pointing in the editor/mixer strip, they may be trying to delete a plugin.
//we need this because the editor-mixer strip is in the editor window, so it doesn't get the bindings from the mix window
bool deleted = false;
- MixerStrip *entered = MixerStrip::entered_mixer_strip();
- if ( current_mixer_strip && current_mixer_strip == entered )
+ if ( current_mixer_strip && current_mixer_strip == MixerStrip::entered_mixer_strip() )
deleted = current_mixer_strip->delete_processors ();
if (!deleted)