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:
Seth Hillbrand 2019-01-17 19:33:47 -08:00
parent 5182fe15d3
commit 4cf4600a23
1 changed files with 1 additions and 1 deletions

View File

@ -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;