From 72c0267fe6ec46a75afdb1451cc57c8030d376fe Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 3 Aug 2019 22:16:35 -0600 Subject: [PATCH] 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 c60118b6a462f86e005c715df62acd858e3dbeb4) --- pcbnew/tools/edit_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index 21bd678df4..046aadc155 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -909,6 +909,7 @@ int EDIT_TOOL::Remove( const TOOL_EVENT& aEvent ) return 1; std::vector lockedItems; + Activate(); // get a copy instead of reference (as we're going to clear the selection before removing items) SELECTION selectionCopy;