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…
Reference in New Issue