mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
if the Editor is not the current EditingContext, don't do Editor::escape stuff
This commit is contained in:
parent
033dd31ff1
commit
99d1a4cd9b
1 changed files with 4 additions and 0 deletions
|
|
@ -2602,6 +2602,10 @@ Editor::start_selection_grab (ArdourCanvas::Item* /*item*/, GdkEvent* event)
|
|||
void
|
||||
Editor::escape ()
|
||||
{
|
||||
if (this != current_editing_context()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_drags->active ()) {
|
||||
_drags->abort ();
|
||||
} else if (_session) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue