Use footprint editor display and window settings for footprint viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/5737
This commit is contained in:
parent
b1160660d9
commit
719e8d276f
|
@ -760,9 +760,9 @@ void FOOTPRINT_VIEWER_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg )
|
|||
|
||||
PCB_BASE_FRAME::LoadSettings( aCfg );
|
||||
|
||||
// Fetch grid settings from Footprint Editor
|
||||
// Fetch display and grid settings from Footprint Editor
|
||||
auto fpedit = Pgm().GetSettingsManager().GetAppSettings<FOOTPRINT_EDITOR_SETTINGS>();
|
||||
|
||||
m_DisplayOptions = fpedit->m_Display;
|
||||
GetGalDisplayOptions().ReadWindowSettings( fpedit->m_Window );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue