SYMBOL_EDIT_FRAME: fix issue after loading a symbol from schematic editor.
Selected items become invisible. Fixes #14151 https://gitlab.com/kicad/code/kicad/issues/14151
This commit is contained in:
parent
a0d02fbab1
commit
b622e3a3f7
|
@ -1512,7 +1512,13 @@ void SYMBOL_EDIT_FRAME::LoadSymbolFromSchematic( SCH_SYMBOL* aSymbol )
|
|||
RebuildSymbolUnitsList();
|
||||
SetShowDeMorgan( GetCurSymbol()->HasConversion() );
|
||||
UpdateSymbolMsgPanelInfo();
|
||||
Refresh();
|
||||
|
||||
// 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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue