mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Use ShowExceptionDialog when we want to show ErrorReportDialog
This commit is contained in:
committed by
Dmitry Vedenko
parent
bbb9ca14a2
commit
690772ccb0
@@ -447,6 +447,7 @@ void OnPaste(const CommandContext &context)
|
||||
// Throw, so that any previous changes to the project in this loop
|
||||
// are discarded.
|
||||
throw SimpleMessageBoxException{
|
||||
ExceptionType::BadUserAction,
|
||||
XO("Pasting one type of track into another is not allowed."),
|
||||
XO("Warning"),
|
||||
"Error:_Copying_or_Pasting"
|
||||
@@ -477,6 +478,7 @@ void OnPaste(const CommandContext &context)
|
||||
// Throw, so that any previous changes to the project in this
|
||||
// loop are discarded.
|
||||
throw SimpleMessageBoxException{
|
||||
ExceptionType::BadUserAction,
|
||||
XO("Copying stereo audio into a mono track is not allowed."),
|
||||
XO("Warning"),
|
||||
"Error:_Copying_or_Pasting"
|
||||
|
||||
Reference in New Issue
Block a user