mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Revert previous select-strips-under-mouse behavior
However, keep the path for deletions in the editor-mixer via _entered_mixer_strip TODO: if nothing was deleted, assume the user was trying to delete something in the editor instead Show selected plugins by a red border TODO: more work on the selection model for plugins and mixer strips
This commit is contained in:
parent
05f3adaba3
commit
61c66afd4c
9 changed files with 50 additions and 45 deletions
|
|
@ -3734,8 +3734,8 @@ 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
|
||||
//TODO: perhaps someday we need to accomodate the other bindings such as mute, solo, etc.
|
||||
if ( current_mixer_strip && current_mixer_strip->is_selected() )
|
||||
MixerStrip *entered = MixerStrip::entered_mixer_strip();
|
||||
if ( current_mixer_strip && current_mixer_strip == entered )
|
||||
current_mixer_strip->delete_processors ();
|
||||
else
|
||||
cut_copy (Delete);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue