From 8047eed6f8396e540b32431724f24f534546c4f4 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 --- 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 494c9427a8..43c0b7e4df 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -819,7 +819,7 @@ TOOL_ACTION ACTIONS::selectionTool( TOOL_ACTION_ARGS() .Flags( AF_ACTIVATE ) ); TOOL_ACTION ACTIONS::measureTool( TOOL_ACTION_ARGS() - .Name( "common.InteractiveEdit.measureTool" ) + .Name( "common.Interactive.measureTool" ) .Scope( AS_GLOBAL ) .DefaultHotkey( MD_CTRL + MD_SHIFT + 'M' ) // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.