symbol editor: fix issue after loading a symbol from a library.
Selected items become invisible.
(similar to the issue fixed by commit b622e3a3f7
)
Fixes #14151
https://gitlab.com/kicad/code/kicad/issues/14151
This commit is contained in:
parent
8b71c70285
commit
9447c3d455
|
@ -312,6 +312,12 @@ bool SYMBOL_EDIT_FRAME::LoadOneLibrarySymbolAux( LIB_SYMBOL* aEntry, const wxStr
|
||||||
setSymWatcher( &libId );
|
setSymWatcher( &libId );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Let tools add things to the view if necessary
|
||||||
|
if( m_toolManager )
|
||||||
|
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
|
||||||
|
|
||||||
|
GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL );
|
||||||
|
|
||||||
// Display the document information based on the entry selected just in
|
// Display the document information based on the entry selected just in
|
||||||
// case the entry is an alias.
|
// case the entry is an alias.
|
||||||
UpdateMsgPanel();
|
UpdateMsgPanel();
|
||||||
|
|
Loading…
Reference in New Issue