mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-19 22:27:43 +02:00
Expose "msg" parameter in Effect::TotalProgress().
This commit is contained in:
parent
473e561f5b
commit
d707f68189
@ -1974,10 +1974,10 @@ void Effect::IncludeNotSelectedPreviewTracks(bool includeNotSelected)
|
||||
mPreviewWithNotSelected = includeNotSelected;
|
||||
}
|
||||
|
||||
bool Effect::TotalProgress(double frac)
|
||||
bool Effect::TotalProgress(double frac, const wxString &msg)
|
||||
{
|
||||
auto updateResult = (mProgress ?
|
||||
mProgress->Update(frac) :
|
||||
mProgress->Update(frac, msg) :
|
||||
ProgressResult::Success);
|
||||
return (updateResult != ProgressResult::Success);
|
||||
}
|
||||
|
@ -330,7 +330,7 @@ protected:
|
||||
// is okay, but don't try to undo).
|
||||
|
||||
// Pass a fraction between 0.0 and 1.0
|
||||
bool TotalProgress(double frac);
|
||||
bool TotalProgress(double frac, const wxString & = wxEmptyString);
|
||||
|
||||
// Pass a fraction between 0.0 and 1.0, for the current track
|
||||
// (when doing one track at a time)
|
||||
|
Loading…
x
Reference in New Issue
Block a user