Update screen r-tree after mirror operation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6549
This commit is contained in:
parent
f70153b849
commit
05609dbc1d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue