mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-06 14:27:36 +02:00
Use ShowExceptionDialog when we want to show ErrorReportDialog
This commit is contained in:
committed by
Dmitry Vedenko
parent
bbb9ca14a2
commit
690772ccb0
@@ -1284,6 +1284,7 @@ void WaveTrack::Paste(double t0, const Track *src)
|
||||
// Strong-guarantee in case of this path
|
||||
// not that it matters.
|
||||
throw SimpleMessageBoxException{
|
||||
ExceptionType::BadUserAction,
|
||||
XO("There is not enough room available to paste the selection"),
|
||||
XO("Warning"),
|
||||
"Error:_Insufficient_space_in_track"
|
||||
@@ -1306,6 +1307,7 @@ void WaveTrack::Paste(double t0, const Track *src)
|
||||
// Strong-guarantee in case of this path
|
||||
// not that it matters.
|
||||
throw SimpleMessageBoxException{
|
||||
ExceptionType::BadUserAction,
|
||||
XO("There is not enough room available to paste the selection"),
|
||||
XO("Warning"),
|
||||
"Error:_Insufficient_space_in_track"
|
||||
@@ -2422,6 +2424,7 @@ void WaveTrack::ExpandCutLine(double cutLinePosition, double* cutlineStart,
|
||||
clip->GetEndTime() + end - start > clip2->GetStartTime())
|
||||
// Strong-guarantee in case of this path
|
||||
throw SimpleMessageBoxException{
|
||||
ExceptionType::BadUserAction,
|
||||
XO("There is not enough room available to expand the cut line"),
|
||||
XO("Warning"),
|
||||
"Error:_Insufficient_space_in_track"
|
||||
|
||||
Reference in New Issue
Block a user