mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
MenuCommandHandler is not a base class of MenuManager...
... This forces a better placement of state variables in the appropriate classes. In future perhaps, MenuManager should be splintered into several classes, one for each of the main toolbar menus.
This commit is contained in:
committed by
James Crook
parent
d693b36bdb
commit
fc6570646d
@@ -749,7 +749,7 @@ void MacrosWindow::UpdateMenus()
|
||||
{
|
||||
// OK even on mac, as dialog is modal.
|
||||
auto p = GetActiveProject();
|
||||
GetMenuCommandHandler(*p).RebuildMenuBar(*p);
|
||||
GetMenuManager(*p).RebuildMenuBar(*p);
|
||||
}
|
||||
|
||||
void MacrosWindow::UpdateDisplay( bool bExpanded )
|
||||
|
||||
Reference in New Issue
Block a user