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
This commit is contained in:
parent
dafd62ddba
commit
8047eed6f8
|
@ -819,7 +819,7 @@ TOOL_ACTION ACTIONS::selectionTool( TOOL_ACTION_ARGS()
|
||||||
.Flags( AF_ACTIVATE ) );
|
.Flags( AF_ACTIVATE ) );
|
||||||
|
|
||||||
TOOL_ACTION ACTIONS::measureTool( TOOL_ACTION_ARGS()
|
TOOL_ACTION ACTIONS::measureTool( TOOL_ACTION_ARGS()
|
||||||
.Name( "common.InteractiveEdit.measureTool" )
|
.Name( "common.Interactive.measureTool" )
|
||||||
.Scope( AS_GLOBAL )
|
.Scope( AS_GLOBAL )
|
||||||
.DefaultHotkey( MD_CTRL + MD_SHIFT + 'M' )
|
.DefaultHotkey( MD_CTRL + MD_SHIFT + 'M' )
|
||||||
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
||||||
|
|
Loading…
Reference in New Issue