From 6623ab91a872547d7f55dfd7cd2c4ef62c47c487 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 11 Jun 2019 00:25:38 +0100 Subject: [PATCH] Fix issue with picker tool activation. --- eeschema/tools/ee_picker_tool.cpp | 2 +- pagelayout_editor/tools/pl_picker_tool.cpp | 2 +- pcbnew/tools/pcbnew_picker_tool.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eeschema/tools/ee_picker_tool.cpp b/eeschema/tools/ee_picker_tool.cpp index 5023a2e6fc..3dcc0a40c8 100644 --- a/eeschema/tools/ee_picker_tool.cpp +++ b/eeschema/tools/ee_picker_tool.cpp @@ -27,7 +27,7 @@ #include #include -TOOL_ACTION EE_ACTIONS::pickerTool( "eeschema.InteractivePicker.activate", +TOOL_ACTION EE_ACTIONS::pickerTool( "eeschema.InteractivePicker", AS_GLOBAL, 0, "", "", "", NULL, AF_ACTIVATE ); diff --git a/pagelayout_editor/tools/pl_picker_tool.cpp b/pagelayout_editor/tools/pl_picker_tool.cpp index b9ce7ccffe..d6d1383185 100644 --- a/pagelayout_editor/tools/pl_picker_tool.cpp +++ b/pagelayout_editor/tools/pl_picker_tool.cpp @@ -28,7 +28,7 @@ #include #include -TOOL_ACTION PL_ACTIONS::pickerTool( "plEditor.InteractivePicker.activate", +TOOL_ACTION PL_ACTIONS::pickerTool( "plEditor.InteractivePicker", AS_GLOBAL, 0, "", "", "", NULL, AF_ACTIVATE ); diff --git a/pcbnew/tools/pcbnew_picker_tool.cpp b/pcbnew/tools/pcbnew_picker_tool.cpp index a6e95cf67c..cbdce04924 100644 --- a/pcbnew/tools/pcbnew_picker_tool.cpp +++ b/pcbnew/tools/pcbnew_picker_tool.cpp @@ -30,7 +30,7 @@ #include "tool_event_utils.h" #include "selection_tool.h" -TOOL_ACTION PCB_ACTIONS::pickerTool( "pcbnew.InteractivePicker.activate", +TOOL_ACTION PCB_ACTIONS::pickerTool( "pcbnew.InteractivePicker", AS_GLOBAL, 0, "", "", "", nullptr, AF_ACTIVATE );