From 8c3c82153d5fc9c572bd9e654af791b8adf75b9f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 29 Feb 2024 17:55:18 +0000 Subject: [PATCH] The ruler tool is not part of InteractiveEdit. (In particular, it should not return true to IsEditorTool().) Fixes https://gitlab.com/kicad/code/kicad/-/issues/17164 (cherry picked from commit 48130c6982310374deba19bb44897bd967398630) --- common/tool/actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index 1e01320538..5b0e792635 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -569,7 +569,7 @@ TOOL_ACTION ACTIONS::selectionTool( "common.InteractiveSelection.selectionTool", _( "Select item(s)" ), _( "Select item(s)" ), BITMAPS::cursor, AF_ACTIVATE ); -TOOL_ACTION ACTIONS::measureTool( "common.InteractiveEdit.measureTool", +TOOL_ACTION ACTIONS::measureTool( "common.Interactive.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)" ),