From cc6c178b17234e973be3e4d0a584bf8a563dbd19 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 5 Jun 2018 18:07:39 +0300 Subject: [PATCH] On macOS, the ControlModifier value corresponds to the Command keys on the keyboard. --HG-- branch : develop --- src/libs/vtools/visualization/line/operation/vistoolmove.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libs/vtools/visualization/line/operation/vistoolmove.cpp b/src/libs/vtools/visualization/line/operation/vistoolmove.cpp index 40dd9cdc5..4d2d1b55d 100644 --- a/src/libs/vtools/visualization/line/operation/vistoolmove.cpp +++ b/src/libs/vtools/visualization/line/operation/vistoolmove.cpp @@ -181,11 +181,12 @@ void VisToolMove::RefreshGeometry() else { Visualization::toolTip = tr("Length = %1%2, angle = %3°, rotation angle = %4°, Shift - sticking angle, " - "Ctrl - change rotation origin point, Mouse click - finish creating") + "%5 - change rotation origin point, Mouse click - finish creating") .arg(qApp->TrVars()->FormulaToUser(QString::number(qApp->fromPixel(tempLength)), qApp->Settings()->GetOsSeparator()), prefix) .arg(tempAngle) - .arg(tempRoationAngle); + .arg(tempRoationAngle) + .arg(QCoreApplication::translate("QShortcut", "Ctrl")); } CreateMovedRotatedObjects(iPoint, iCurve, tempLength, tempAngle, tempRoationAngle, origin);