Eeschema: SaveSettings() : save visibility of Properties Panel in config.

This commit is contained in:
jean-pierre charras 2023-06-24 08:44:34 +02:00
parent b8e9544828
commit 830b67ead7
1 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,9 @@ void SCH_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg )
cfg->m_AuiPanels.search_panel_height = m_searchPane->GetSize().y;
cfg->m_AuiPanels.search_panel_width = m_searchPane->GetSize().x;
cfg->m_AuiPanels.search_panel_dock_direction = searchPaneInfo.dock_direction;
wxAuiPaneInfo& propertiesPane = m_auimgr.GetPane( PropertiesPaneName() );
cfg->m_AuiPanels.show_properties = propertiesPane.IsShown();
}
}