Symbol Chooser Panel: save settings
This commit is contained in:
parent
24846d3f44
commit
bf6e6d0e11
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue