mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
ProjectAudioManager doesn't use ProjectWindow, which doesn't use...
ControlToolBar, after we make a system to register functions that calculate necessary minimum widths for status bar fields. Also let Scrubbing.cpp register its own strings. Also be sure to size the status field sufficiently for "Playing at Speed".
This commit is contained in:
@@ -838,6 +838,8 @@ void ProjectManager::OnStatusChange( wxCommandEvent &evt )
|
||||
return;
|
||||
auto &window = *pWindow;
|
||||
|
||||
window.UpdateStatusWidths();
|
||||
|
||||
auto field = static_cast<StatusBarField>( evt.GetInt() );
|
||||
const auto &msg = ProjectStatus::Get( project ).Get( field );
|
||||
window.GetStatusBar()->SetStatusText(msg, field);
|
||||
|
||||
Reference in New Issue
Block a user