diff --git a/eeschema/symbol_editor/symbol_edit_frame.cpp b/eeschema/symbol_editor/symbol_edit_frame.cpp index d345274b11..96897bee46 100644 --- a/eeschema/symbol_editor/symbol_edit_frame.cpp +++ b/eeschema/symbol_editor/symbol_edit_frame.cpp @@ -1215,6 +1215,10 @@ void SYMBOL_EDIT_FRAME::ShowChangedLanguage() void SYMBOL_EDIT_FRAME::SetScreen( BASE_SCREEN* aScreen ) { SCH_BASE_FRAME::SetScreen( aScreen ); + + // Let tools add things to the view if necessary + if( m_toolManager ) + m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD ); } @@ -1228,6 +1232,10 @@ void SYMBOL_EDIT_FRAME::RebuildView() GetCanvas()->GetView()->HideDrawingSheet(); GetCanvas()->GetView()->ClearHiddenFlags(); + // Let tools add things to the view if necessary + if( m_toolManager ) + m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD ); + GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL ); GetCanvas()->Refresh(); } diff --git a/eeschema/symbol_editor/symbol_editor.cpp b/eeschema/symbol_editor/symbol_editor.cpp index 82a282dedd..5680ab0a25 100644 --- a/eeschema/symbol_editor/symbol_editor.cpp +++ b/eeschema/symbol_editor/symbol_editor.cpp @@ -304,6 +304,10 @@ bool SYMBOL_EDIT_FRAME::LoadOneLibrarySymbolAux( LIB_SYMBOL* aEntry, const wxStr ClearUndoRedoList(); + // Let tools add things to the view if necessary + if( m_toolManager ) + m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD ); + // Display the document information based on the entry selected just in // case the entry is an alias. UpdateMsgPanel();