diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index 00e405be5d..7704cb8483 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -450,6 +450,7 @@ TOOL_ACTION ACTIONS::resetLocalCoords( "common.Control.resetLocalCoords", TOOL_ACTION ACTIONS::toggleCursor( "common.Control.toggleCursor", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. MD_CTRL + MD_SHIFT + 'X', LEGACY_HK_NAME( "Toggle Cursor Display (Modern Toolset only)" ), _( "Always Show Cursor" ), _( "Display crosshairs even in selection tool" ), cursor_xpm ); @@ -472,6 +473,7 @@ TOOL_ACTION ACTIONS::selectionTool( "common.InteractiveSelection.selectionTool", TOOL_ACTION ACTIONS::measureTool( "common.InteractiveEdit.measureTool", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. MD_CTRL + MD_SHIFT + 'M', LEGACY_HK_NAME( "Measure Distance (Modern Toolset only)" ), _( "Measure Tool" ), _( "Interactively measure distance between points" ), measurement_xpm, AF_ACTIVATE ); diff --git a/pcbnew/router/length_tuner_tool.cpp b/pcbnew/router/length_tuner_tool.cpp index b4ee520f80..2f9d44dd87 100644 --- a/pcbnew/router/length_tuner_tool.cpp +++ b/pcbnew/router/length_tuner_tool.cpp @@ -63,6 +63,7 @@ static TOOL_ACTION ACT_EndTuning( "pcbnew.LengthTuner.EndTuning", static TOOL_ACTION ACT_Settings( "pcbnew.LengthTuner.Settings", AS_CONTEXT, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. MD_CTRL + 'L', LEGACY_HK_NAME( "Length Tuning Settings (Modern Toolset only)" ), _( "Length Tuning Settings..." ), _( "Sets the length tuning parameters for currently routed item." ), router_len_tuner_setup_xpm ); diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index 85fcac22c6..949b742a20 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -217,6 +217,7 @@ TOOL_ACTION PCB_ACTIONS::createArray( "pcbnew.InteractiveEdit.createArray", TOOL_ACTION PCB_ACTIONS::rotateCw( "pcbnew.InteractiveEdit.rotateCw", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. MD_SHIFT + 'R', LEGACY_HK_NAME( "Rotate Item Clockwise (Modern Toolset only)" ), _( "Rotate Clockwise" ), _( "Rotates selected item(s) clockwise" ), rotate_cw_xpm, AF_NONE, (void*) -1 ); @@ -599,6 +600,7 @@ TOOL_ACTION PCB_ACTIONS::highlightNetTool( "pcbnew.EditorControl.highlightNetToo TOOL_ACTION PCB_ACTIONS::highlightNetSelection( "pcbnew.EditorControl.highlightNetSelection", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. '`', LEGACY_HK_NAME( "Toggle Highlight of Selected Net (Modern Toolset only)" ), _( "Highlight Net" ), _( "Highlight all copper items of a net" ), net_highlight_xpm ); @@ -887,12 +889,14 @@ TOOL_ACTION PCB_ACTIONS::layerToggle( "pcbnew.Control.layerToggle", TOOL_ACTION PCB_ACTIONS::layerAlphaInc( "pcbnew.Control.layerAlphaInc", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. '}', LEGACY_HK_NAME( "Increment Layer Transparency (Modern Toolset only)" ), _( "Increase Layer Opacity" ), _( "Make the current layer more transparent" ), contrast_mode_xpm ); TOOL_ACTION PCB_ACTIONS::layerAlphaDec( "pcbnew.Control.layerAlphaDec", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. '{', LEGACY_HK_NAME( "Decrement Layer Transparency (Modern Toolset only)" ), _( "Decrease Layer Opacity" ), _( "Make the current layer more transparent" ), contrast_mode_xpm ); @@ -1109,6 +1113,7 @@ TOOL_ACTION PCB_ACTIONS::routeSingleTrack( "pcbnew.InteractiveRouter.SingleTrack TOOL_ACTION PCB_ACTIONS::routeDiffPair( "pcbnew.InteractiveRouter.DiffPair", AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. '6', LEGACY_HK_NAME( "Route Differential Pair (Modern Toolset only)" ), _( "Route Differential Pair" ), _( "Run push & shove router (differential pairs)" ), ps_diff_pair_xpm, AF_ACTIVATE, (void*) PNS::PNS_MODE_ROUTE_DIFF_PAIR ); @@ -1131,19 +1136,22 @@ TOOL_ACTION PCB_ACTIONS::selectLayerPair( "pcbnew.InteractiveRouter.SelectLayerP TOOL_ACTION PCB_ACTIONS::routerTuneSingleTrace( "pcbnew.LengthTuner.TuneSingleTrack", AS_GLOBAL, - '7', LEGACY_HK_NAME( "Tune Single Track" ), + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. + '7', LEGACY_HK_NAME( "Tune Single Track (Modern Toolset only)" ), _( "Tune length of a single track" ), "", ps_tune_length_xpm, AF_ACTIVATE, (void*) PNS::PNS_MODE_TUNE_SINGLE ); TOOL_ACTION PCB_ACTIONS::routerTuneDiffPair( "pcbnew.LengthTuner.TuneDiffPair", AS_GLOBAL, - '8', LEGACY_HK_NAME( "Tune Differential Pair Length" ), + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. + '8', LEGACY_HK_NAME( "Tune Differential Pair Length (Modern Toolset only)" ), _( "Tune length of a differential pair" ), "", nullptr, AF_ACTIVATE, (void*) PNS::PNS_MODE_TUNE_DIFF_PAIR ); TOOL_ACTION PCB_ACTIONS::routerTuneDiffPairSkew( "pcbnew.LengthTuner.TuneDiffPairSkew", AS_GLOBAL, - '9', LEGACY_HK_NAME( "Tune Differential Pair Skew" ), + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. + '9', LEGACY_HK_NAME( "Tune Differential Pair Skew (Modern Toolset only)" ), _( "Tune skew of a differential pair" ), "", nullptr, AF_ACTIVATE, (void*) PNS::PNS_MODE_TUNE_DIFF_PAIR_SKEW );