Fix missing RTREE update.

This commit is contained in:
Jeff Young 2021-09-30 15:09:32 +01:00
parent 455f6fadac
commit c7e6c273b4
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ void SCH_BASE_FRAME::UpdateItem( EDA_ITEM* aItem, bool isAddOrDelete )
GetCanvas()->GetView()->Update( parent, KIGFX::REPAINT ); GetCanvas()->GetView()->Update( parent, KIGFX::REPAINT );
} }
GetScreen()->Update( static_cast<SCH_ITEM*>( aItem ) );
// Calling Refresh() here introduces a bi-stable state: when doing operations on a // Calling Refresh() here introduces a bi-stable state: when doing operations on a
// large number of items if at some point the refresh timer times out and does a // large number of items if at some point the refresh timer times out and does a
// refresh it will take long enough that the next item will also time out, and the // refresh it will take long enough that the next item will also time out, and the