FOOTPRINT_EDIT_FRAME: fix missing saving/loading a few config params.

This commit is contained in:
jean-pierre charras 2020-03-15 19:51:41 +01:00
parent 76b64afc26
commit 1e40753d33
1 changed files with 2 additions and 2 deletions

View File

@ -436,7 +436,7 @@ void FOOTPRINT_EDIT_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg )
// aCfg will be the PCBNEW_SETTINGS
auto cfg = GetSettings();
EDA_BASE_FRAME::LoadSettings( cfg );
EDA_DRAW_FRAME::LoadSettings( cfg );
// TODO(JE) remove once color themes exist
COLOR_SETTINGS* cs = ColorSettings();
@ -466,7 +466,7 @@ void FOOTPRINT_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg )
// aCfg will be the PCBNEW_SETTINGS
auto cfg = GetSettings();
EDA_BASE_FRAME::SaveSettings( cfg );
EDA_DRAW_FRAME::SaveSettings( cfg );
cfg->m_DesignSettings = GetDesignSettings();
cfg->m_Display = m_DisplayOptions;