pcbnew: Discard delete action when routing
Prevent the action from being handled on the next transition. Fixes: lp:1810611 * https://bugs.launchpad.net/kicad/+bug/1810611
This commit is contained in:
parent
5182fe15d3
commit
4cf4600a23
|
@ -880,7 +880,7 @@ int EDIT_TOOL::Remove( const TOOL_EVENT& aEvent )
|
|||
|
||||
// Do not delete items while actively routing.
|
||||
if( routerTool && routerTool->Router() && routerTool->Router()->RoutingInProgress() )
|
||||
return 0;
|
||||
return 1;
|
||||
|
||||
std::vector<BOARD_ITEM*> lockedItems;
|
||||
|
||||
|
|
Loading…
Reference in New Issue