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