mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Don't modify selection in the middle of a move/drag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20239
This commit is contained in:
parent
7f1b412203
commit
8894c470ef
@ -2166,6 +2166,9 @@ int PCB_SELECTION_TOOL::syncSelectionWithNets( const TOOL_EVENT& aEvent )
|
||||
|
||||
void PCB_SELECTION_TOOL::doSyncSelection( const std::vector<BOARD_ITEM*>& aItems, bool aWithNets )
|
||||
{
|
||||
if( m_selection.Front() && m_selection.Front()->IsMoving() )
|
||||
return;
|
||||
|
||||
ClearSelection( true /*quiet mode*/ );
|
||||
|
||||
// Perform individual selection of each item before processing the event.
|
||||
|
Loading…
Reference in New Issue
Block a user