mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
ControlToolBar uses idle events to update status message for itself
This commit is contained in:
@@ -337,7 +337,6 @@ void Scrubber::MarkScrubStart(
|
||||
// : ControlToolBar::PlayAppearance::Scrub);
|
||||
|
||||
mScrubStartPosition = xx;
|
||||
ctb.UpdateStatusBar(mProject);
|
||||
mCancelled = false;
|
||||
}
|
||||
|
||||
@@ -674,8 +673,6 @@ void Scrubber::ContinueScrubbingUI()
|
||||
// Show the correct status for seeking.
|
||||
bool backup = mSeeking;
|
||||
mSeeking = seek;
|
||||
auto &ctb = ControlToolBar::Get( *mProject );
|
||||
ctb.UpdateStatusBar(mProject);
|
||||
mSeeking = backup;
|
||||
}
|
||||
|
||||
@@ -1107,12 +1104,6 @@ void Scrubber::OnScrubOrSeek(bool seek)
|
||||
{
|
||||
DoScrub(seek);
|
||||
|
||||
if (HasMark()) {
|
||||
// Show the correct status.
|
||||
auto &ctb = ControlToolBar::Get( *mProject );
|
||||
ctb.UpdateStatusBar(mProject);
|
||||
}
|
||||
|
||||
mSeeking = seek;
|
||||
CheckMenuItems();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user