Make sure design settings get written back to board.

Fixes https://gitlab.com/kicad/code/kicad/issues/5109
This commit is contained in:
Jeff Young 2020-08-08 23:34:45 +01:00
parent 6b7503be8e
commit 492f7859e7
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,8 @@ bool PANEL_MODEDIT_DEFAULTS::TransferDataFromWindow()
m_brdSettings.m_DefaultFPTextItems.emplace_back( text, visible, layer );
}
m_frame->GetDesignSettings() = m_brdSettings;
if( FOOTPRINT_EDITOR_SETTINGS* cfg = m_frame->GetSettings() )
cfg->m_DesignSettings = m_brdSettings;