Make sure design settings get written back to board.
Fixes https://gitlab.com/kicad/code/kicad/issues/5109
This commit is contained in:
parent
6b7503be8e
commit
492f7859e7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue