Rework the toolbar settings storage and panel

This format is more extendable in the future, should separator and
spacer support be added to groups.

Also, this now has a working UI for modifying the toolbars.
This commit is contained in:
Ian McInerney
2025-02-28 02:05:50 +00:00
parent 18e5a16040
commit e202b00a74
12 changed files with 299 additions and 145 deletions
+1 -2
View File
@@ -723,8 +723,7 @@ void EDA_BASE_FRAME::CommonSettingsChanged( int aFlags )
GetMenuBar()->Refresh();
}
// Update the toolbars by loading the settings from disk
m_toolbarSettings->LoadFromFile( Pgm().GetSettingsManager().GetToolbarSettingsPath() );
// Update the toolbars
RecreateToolbars();
}