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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user