Ativate delete tool so it can display the selection clarification menu when needed.
Fixes: lp:1835371 * https://bugs.launchpad.net/kicad/+bug/1835371
This commit is contained in:
parent
3e8ebe0a2a
commit
c60118b6a4
|
@ -805,6 +805,7 @@ int EDIT_TOOL::Remove( const TOOL_EVENT& aEvent )
|
|||
return 1;
|
||||
|
||||
std::vector<BOARD_ITEM*> lockedItems;
|
||||
Activate();
|
||||
|
||||
// get a copy instead of reference (as we're going to clear the selection before removing items)
|
||||
PCBNEW_SELECTION selectionCopy;
|
||||
|
|
Loading…
Reference in New Issue