From e9c1cd237197cf68f2994946b045e1f717cd33af Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 19 Apr 2019 01:07:36 +0100 Subject: [PATCH] Fix duplicate hotkeys. --- eeschema/tools/sch_drawing_tool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eeschema/tools/sch_drawing_tool.cpp b/eeschema/tools/sch_drawing_tool.cpp index 2fb6e9b0e8..1ac347630c 100644 --- a/eeschema/tools/sch_drawing_tool.cpp +++ b/eeschema/tools/sch_drawing_tool.cpp @@ -57,16 +57,16 @@ TOOL_ACTION SCH_ACTIONS::placePower( "eeschema.InteractiveDrawing.placePowerPort _( "Add Power" ), _( "Add a power port" ), NULL, AF_ACTIVATE ); TOOL_ACTION SCH_ACTIONS::startWire( "eeschema.InteractiveDrawing.startWire", - AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_BEGIN_WIRE ), - _( "Add Wire" ), _( "Start drawing a wire" ), NULL, AF_ACTIVATE ); + AS_GLOBAL, 0, + _( "Begin Wire" ), _( "Start drawing a wire" ), NULL, AF_ACTIVATE ); TOOL_ACTION SCH_ACTIONS::drawWire( "eeschema.InteractiveDrawing.drawWire", AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_BEGIN_WIRE ), _( "Add Wire" ), _( "Add a wire" ), NULL, AF_ACTIVATE ); TOOL_ACTION SCH_ACTIONS::startBus( "eeschema.InteractiveDrawing.startBus", - AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_BEGIN_WIRE ), - _( "Add Bus" ), _( "Start drawing a bus" ), NULL, AF_ACTIVATE ); + AS_GLOBAL, 0, + _( "Begin Bus" ), _( "Start drawing a bus" ), NULL, AF_ACTIVATE ); TOOL_ACTION SCH_ACTIONS::drawBus( "eeschema.InteractiveDrawing.drawBus", AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_BEGIN_BUS ),