Don't eat commands that aren't ours in SCH_MOVE_TOOL.
Fixes https://gitlab.com/kicad/code/kicad/issues/5692
This commit is contained in:
parent
90b147a914
commit
d468618411
|
@ -373,9 +373,7 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
unselect = true;
|
unselect = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if( evt->Category() == TC_COMMAND )
|
else if( evt->IsAction( &ACTIONS::doDelete ) )
|
||||||
{
|
|
||||||
if( evt->IsAction( &ACTIONS::doDelete ) )
|
|
||||||
{
|
{
|
||||||
// Exit on a remove operation; there is no further processing for removed items.
|
// Exit on a remove operation; there is no further processing for removed items.
|
||||||
break;
|
break;
|
||||||
|
@ -410,7 +408,6 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
// Handle context menu
|
// Handle context menu
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue