mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 09:29:30 +02:00
Bugs2581, 2544: Don't corrupt if can't paste because clips can't move
This commit is contained in:
parent
2fe0a07901
commit
7a1ca42109
@ -239,7 +239,19 @@ public:
|
||||
|
||||
// Give it back to WX for normal processing.
|
||||
return Event_Skip;
|
||||
}, MakeSimpleGuard( Event_Skip ) );
|
||||
},
|
||||
// Immediate handler invokes the same high level catch-all as for
|
||||
// unhandled exceptions, which will also do its own delayed handling
|
||||
[](AudacityException *pEx){
|
||||
if (pEx)
|
||||
wxTheApp->OnExceptionInMainLoop();
|
||||
else
|
||||
throw;
|
||||
return Event_Processed;
|
||||
},
|
||||
// So don't duplicate delayed handling:
|
||||
[](auto){}
|
||||
);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user