Symbol Chooser Panel: save settings

This commit is contained in:
Mike Williams 2023-12-19 14:02:56 -05:00
parent 24846d3f44
commit bf6e6d0e11
1 changed files with 3 additions and 0 deletions

View File

@ -309,6 +309,9 @@ PANEL_SYMBOL_CHOOSER::~PANEL_SYMBOL_CHOOSER()
if( EESCHEMA_SETTINGS* cfg = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() ) ) if( EESCHEMA_SETTINGS* cfg = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() ) )
{ {
// Save any changes to column widths, etc.
m_adapter->SaveSettings();
cfg->m_SymChooserPanel.width = GetParent()->GetSize().x; cfg->m_SymChooserPanel.width = GetParent()->GetSize().x;
cfg->m_SymChooserPanel.height = GetParent()->GetSize().y; cfg->m_SymChooserPanel.height = GetParent()->GetSize().y;