Don't eat commands we don't need in move tool.
This also fixes the dynamic ratsnest issue. Fixes https://gitlab.com/kicad/code/kicad/issues/5692
This commit is contained in:
parent
1a988e8d85
commit
53297c78a6
|
@ -579,9 +579,7 @@ int EDIT_TOOL::doMoveSelection( TOOL_EVENT aEvent, bool aPickReference )
|
|||
}
|
||||
|
||||
// Dispatch TOOL_ACTIONs
|
||||
else if( evt->Category() == TC_COMMAND )
|
||||
{
|
||||
if( evt->IsAction( &ACTIONS::doDelete ) )
|
||||
else if( evt->IsAction( &ACTIONS::doDelete ) )
|
||||
{
|
||||
break; // finish -- there is no further processing for removed items
|
||||
}
|
||||
|
@ -600,7 +598,6 @@ int EDIT_TOOL::doMoveSelection( TOOL_EVENT aEvent, bool aPickReference )
|
|||
|
||||
break; // finish -- we moved exactly, so we are finished
|
||||
}
|
||||
}
|
||||
|
||||
else if( evt->IsMouseUp( BUT_LEFT ) || evt->IsClick( BUT_LEFT ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue