Revert "Symbol editor: stop removing overlay from view"
This reverts commit f36cd60fdb
.
This commit is contained in:
parent
cca9945867
commit
f7ccb18af5
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue