Revert "Symbol editor: stop removing overlay from view"

This reverts commit f36cd60fdb.
This commit is contained in:
Jon Evans 2023-02-16 16:44:20 -05:00
parent cca9945867
commit f7ccb18af5
2 changed files with 0 additions and 12 deletions

View File

@ -1215,10 +1215,6 @@ 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 );
}
@ -1232,10 +1228,6 @@ 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();
}

View File

@ -304,10 +304,6 @@ 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();