Fix for move-after-duplicate only needs the extra update once.
This version will be quite a bit more performant. Fixes: lp:1813038 * https://bugs.launchpad.net/kicad/+bug/1813038
This commit is contained in:
parent
fc50ddda64
commit
4c9e4c947c
|
@ -422,7 +422,6 @@ int EDIT_TOOL::Move( const TOOL_EVENT& aEvent )
|
|||
controls->SetAutoPan( true );
|
||||
}
|
||||
|
||||
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::updateLocalRatsnest, false );
|
||||
}
|
||||
|
||||
|
@ -511,6 +510,7 @@ int EDIT_TOOL::Move( const TOOL_EVENT& aEvent )
|
|||
}
|
||||
else
|
||||
{
|
||||
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
|
||||
m_commit->Push( _( "Drag" ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue