diff --git a/eeschema/libedit/lib_edit_frame.cpp b/eeschema/libedit/lib_edit_frame.cpp index d54c6583c9..2ec4c6b480 100644 --- a/eeschema/libedit/lib_edit_frame.cpp +++ b/eeschema/libedit/lib_edit_frame.cpp @@ -230,6 +230,10 @@ LIB_EDIT_FRAME::LIB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : LoadSettings( config() ); + // Ensure axis are always drawn, whatever LoadSettings has found in config + KIGFX::GAL_DISPLAY_OPTIONS& gal_opts = GetGalDisplayOptions(); + gal_opts.m_axesEnabled = true; + m_dummyScreen = new SCH_SCREEN( aKiway ); SetScreen( m_dummyScreen ); GetScreen()->m_Center = true; diff --git a/eeschema/viewlib_frame.cpp b/eeschema/viewlib_frame.cpp index 40be73cc74..174a44304b 100644 --- a/eeschema/viewlib_frame.cpp +++ b/eeschema/viewlib_frame.cpp @@ -139,6 +139,10 @@ LIB_VIEW_FRAME::LIB_VIEW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame GetScreen()->m_Center = true; // Axis origin centered on screen. LoadSettings( config() ); + // Ensure axis are always drawn, whatever LoadSettings has found in config + KIGFX::GAL_DISPLAY_OPTIONS& gal_opts = GetGalDisplayOptions(); + gal_opts.m_axesEnabled = true; + SetSize( m_FramePos.x, m_FramePos.y, m_FrameSize.x, m_FrameSize.y ); SetPresetGrid( m_LastGridSizeId );