13
0

if the Editor is not the current EditingContext, don't do Editor::escape stuff

This commit is contained in:
Paul Davis 2024-06-07 10:06:34 -06:00
parent 033dd31ff1
commit 99d1a4cd9b

View File

@ -2602,6 +2602,10 @@ Editor::start_selection_grab (ArdourCanvas::Item* /*item*/, GdkEvent* event)
void void
Editor::escape () Editor::escape ()
{ {
if (this != current_editing_context()) {
return;
}
if (_drags->active ()) { if (_drags->active ()) {
_drags->abort (); _drags->abort ();
} else if (_session) { } else if (_session) {