Handle another case where schematic view was being cleared
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13944
(cherry picked from commit ec2fc161e1
)
This commit is contained in:
parent
f36cd60fdb
commit
245ce7259c
|
@ -478,6 +478,10 @@ void SCH_BASE_FRAME::RemoveFromScreen( EDA_ITEM* aItem, SCH_SCREEN* aScreen )
|
|||
|
||||
void SCH_BASE_FRAME::SyncView()
|
||||
{
|
||||
// Let tools add things to the view if necessary
|
||||
if( m_toolManager )
|
||||
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
|
||||
|
||||
GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue