Delay loading eeschema "project settings" to after the ui is ready
This commit is contained in:
parent
0dd746548a
commit
9dc611f704
|
@ -244,7 +244,6 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
|
|
||||||
// After schematic has been linked to project, SCHEMATIC_SETTINGS works
|
// After schematic has been linked to project, SCHEMATIC_SETTINGS works
|
||||||
m_defaults = &m_schematic->Settings();
|
m_defaults = &m_schematic->Settings();
|
||||||
LoadProjectSettings();
|
|
||||||
|
|
||||||
setupTools();
|
setupTools();
|
||||||
setupUIConditions();
|
setupUIConditions();
|
||||||
|
@ -278,6 +277,8 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
resolveCanvasType();
|
resolveCanvasType();
|
||||||
SwitchCanvas( m_canvasType );
|
SwitchCanvas( m_canvasType );
|
||||||
|
|
||||||
|
LoadProjectSettings();
|
||||||
|
|
||||||
initScreenZoom();
|
initScreenZoom();
|
||||||
|
|
||||||
// This is used temporarily to fix a client size issue on GTK that causes zoom to fit
|
// This is used temporarily to fix a client size issue on GTK that causes zoom to fit
|
||||||
|
|
Loading…
Reference in New Issue