diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-24 12:30:11 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-24 22:49:47 -0500 |
commit | 6bdc9764628e0e47f03ac09aeefc280c25d210a7 (patch) | |
tree | ce139203eca9e6f97eec671111210085f8fd9c60 /gtk2_ardour/editor_ops.cc | |
parent | 3876b488791a91b85d501b56a656dfb3bfffd052 (diff) |
Remove "implicit" selection for plugin deletion.
Allow deletions in the mixer strip to fall through to editor if nothing was selected.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 0fb22b814f..5bbb1d0079 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -3734,10 +3734,12 @@ 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 ) - current_mixer_strip->delete_processors (); - else + deleted = current_mixer_strip->delete_processors (); + + if (!deleted) cut_copy (Delete); } |