1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-22 16:41:18 +01:00

When changing the scrub mode via menu command or shortcut, update status bar

This commit is contained in:
Paul Licameli
2016-04-25 15:44:02 -04:00

View File

@@ -613,6 +613,10 @@ void Scrubber::DoScrub(bool scroll, bool seek)
mAlwaysSeeking = seek; mAlwaysSeeking = seek;
UncheckAllMenuItems(); UncheckAllMenuItems();
CheckMenuItem(); CheckMenuItem();
// Show the correct status.
const auto ctb = mProject->GetControlToolBar();
ctb->UpdateStatusBar(mProject);
} }
else { else {
// This will call back to Scrubber::StopScrubbing // This will call back to Scrubber::StopScrubbing