From 3d7e01bb7adb246a58c8013cd48d838f967af3a7 Mon Sep 17 00:00:00 2001 From: howie-j <82042580+howie-j@users.noreply.github.com> Date: Thu, 7 Sep 2023 21:14:56 +0200 Subject: [PATCH] Fixes #10596 --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 71346b46ab..980a588624 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -1223,7 +1223,7 @@ public: void registerPressedKey(bool pressed, int key) override { - if ((key == SoKeyboardEvent::RIGHT_SHIFT || key == SoKeyboardEvent::LEFT_SHIFT) && pressed) { + if (key == SoKeyboardEvent::M && pressed) { if (availableConstraint == AvailableConstraint::FIRST) { availableConstraint = AvailableConstraint::SECOND; } @@ -2379,7 +2379,7 @@ CmdSketcherDimension::CmdSketcherDimension() sGroup = "Sketcher"; sMenuText = QT_TR_NOOP("Dimension"); sToolTipText = QT_TR_NOOP("Constrain contextually based on your selection.\n" - "Depending on your selection you might have several constraints available. You can cycle through them using SHIFT key.\n" + "Depending on your selection you might have several constraints available. You can cycle through them using M key.\n" "Left clicking on empty space will validate the current constraint. Right clicking or pressing Esc will cancel."); sWhatsThis = "Sketcher_Dimension"; sStatusTip = sToolTipText;