From ec2fc161e1bc605e97be5647b2d467ab4340cb48 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 16 Feb 2023 08:25:10 -0500 Subject: [PATCH] Handle another case where schematic view was being cleared Fixes https://gitlab.com/kicad/code/kicad/-/issues/13944 --- eeschema/sch_base_frame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sch_base_frame.cpp b/eeschema/sch_base_frame.cpp index d98b78c8f1..22e9f63130 100644 --- a/eeschema/sch_base_frame.cpp +++ b/eeschema/sch_base_frame.cpp @@ -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 ); }