diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index 25e5e575ce..c4a5854280 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -289,7 +289,10 @@ void EDA_BASE_FRAME::LoadSettings( wxConfigBase* aCfg ) int displayIndex = wxDisplay::GetFromPoint( m_FramePos ); if( displayIndex == wxNOT_FOUND ) + { displayIndex = 0; + m_FramePos = wxDefaultPosition; + } wxDisplay display( displayIndex ); wxRect clientSize = display.GetClientArea();