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 48130c6982)
This commit is contained in:
Jeff Young 2024-02-29 17:55:18 +00:00
parent 28e433cc54
commit 8c3c82153d
1 changed files with 1 additions and 1 deletions

View File

@ -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)" ),