diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index d53e520f95..362b24a95d 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -1097,7 +1097,7 @@ void SCH_EDIT_FRAME::doCloseWindow() if( !Schematic().GetFileName().IsEmpty() && !Schematic().RootScreen()->IsEmpty() ) UpdateFileHistory( fileName ); - Schematic().RootScreen()->Clear(); + Schematic().RootScreen()->Clear( true ); // all sub sheets are deleted, only the main sheet is usable GetCurrentSheet().clear();