Browse Source

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
newinvert
jean-pierre charras 3 years ago
parent
commit
b622e3a3f7
  1. 8
      eeschema/symbol_editor/symbol_edit_frame.cpp

8
eeschema/symbol_editor/symbol_edit_frame.cpp

@ -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…
Cancel
Save