mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
Fix assertion when cancelling from selection drag
This commit is contained in:
parent
7a038c9e51
commit
e55393af69
@ -792,10 +792,12 @@ bool TrackPanel::HandleEscapeKey(bool down)
|
||||
if (!down)
|
||||
return false;
|
||||
|
||||
auto target = Target();
|
||||
if (target && target->HasEscape() && target->Escape()) {
|
||||
HandleCursorForPresentMouseState(false);
|
||||
return true;
|
||||
{
|
||||
auto target = Target();
|
||||
if (target && target->HasEscape() && target->Escape()) {
|
||||
HandleCursorForPresentMouseState(false);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (mUIHandle) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user