diff --git a/common/basicframe.cpp b/common/basicframe.cpp index 46a964e470..5b329783c6 100644 --- a/common/basicframe.cpp +++ b/common/basicframe.cpp @@ -158,6 +158,10 @@ void EDA_BASE_FRAME::windowClosing( wxCloseEvent& event ) void EDA_BASE_FRAME::removePaneBorder( wxShowEvent& event ) { + // nothing to be set + if( !m_auimgr.GetManagedWindow() ) + return; + // remove the ugly 1-pixel white border on AUI panes wxAuiPaneInfoArray panes = m_auimgr.GetAllPanes();