1
0
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:
Paul Licameli
2019-06-28 11:57:49 -04:00
parent ce7773b7ab
commit 7d504ba015
4 changed files with 10 additions and 20 deletions

View File

@@ -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();