Save column position of properties panel.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15627
This commit is contained in:
Jeff Young 2023-09-12 14:03:56 +01:00
parent 4a59f0de43
commit 403d7019d5
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <schematic.h>
#include <widgets/hierarchy_pane.h>
#include <widgets/sch_search_pane.h>
#include <widgets/properties_panel.h>
#include <settings/app_settings.h>
#include <settings/settings_manager.h>
#include <symbol_lib_table.h>
@ -234,6 +235,7 @@ void SCH_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg )
wxAuiPaneInfo& propertiesPane = m_auimgr.GetPane( PropertiesPaneName() );
cfg->m_AuiPanels.show_properties = propertiesPane.IsShown();
cfg->m_AuiPanels.properties_splitter_proportion = m_propertiesPanel->SplitterProportion();
}
}