diff --git a/eeschema/tools/ee_tool_base.h b/eeschema/tools/ee_tool_base.h index a83d216ff7..063e758a01 100644 --- a/eeschema/tools/ee_tool_base.h +++ b/eeschema/tools/ee_tool_base.h @@ -124,7 +124,7 @@ protected: default: getView()->Update( aItem ); - if( aUpdateRTree ) + if( aUpdateRTree && dynamic_cast( aItem ) ) m_frame->GetScreen()->Update( static_cast( aItem ) ); } }