From 582eae5ba388d5ab246795eecbf9dc401334436e Mon Sep 17 00:00:00 2001 From: George Peden Date: Sun, 7 Sep 2025 11:59:44 -1000 Subject: [PATCH] Add missing hints for ConstrainRadiam tool - Add hints entry for Sketcher_ConstrainRadiam in hints array - ConstrainRadiam now shows 'pick circle or arc' hint like other radius/diameter tools - Fixes part of issue #22282 - missing radius constraint hints --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 8c37e47311..8d207abd38 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -1230,6 +1230,10 @@ private: .selectionStep = 0, .hints = {{QObject::tr("%1 pick circle or arc"), {Gui::InputHint::UserInput::MouseLeft}}}}, + {.commandName = "Sketcher_ConstrainRadiam", + .selectionStep = 0, + .hints = {{QObject::tr("%1 pick circle or arc"), {Gui::InputHint::UserInput::MouseLeft}}}}, + // Angle {.commandName = "Sketcher_ConstrainAngle", .selectionStep = 0,