Update screen r-tree after mirror operation

Fixes https://gitlab.com/kicad/code/kicad/-/issues/6549
This commit is contained in:
Jon Evans 2020-12-01 19:18:44 -05:00
parent f70153b849
commit 05609dbc1d
1 changed files with 4 additions and 0 deletions

View File

@ -722,6 +722,10 @@ int SCH_EDIT_TOOL::Mirror( const TOOL_EVENT& aEvent )
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
// Update R-Tree for modified items
for( EDA_ITEM* selected : selection )
updateItem( selected, true );
if( item->IsMoving() )
{
m_toolMgr->RunAction( ACTIONS::refreshPreview );