From d8d32c1b3ac926a214d572dbe297941302483c6a Mon Sep 17 00:00:00 2001 From: captain0xff Date: Mon, 15 Sep 2025 22:17:44 +0530 Subject: [PATCH] Gui: set focus to the corresponding property when a gizmo is released --- src/Gui/Inventor/Draggers/Gizmo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Gui/Inventor/Draggers/Gizmo.cpp b/src/Gui/Inventor/Draggers/Gizmo.cpp index 82702d03c7..ee29a99b09 100644 --- a/src/Gui/Inventor/Draggers/Gizmo.cpp +++ b/src/Gui/Inventor/Draggers/Gizmo.cpp @@ -253,6 +253,9 @@ void LinearGizmo::draggingFinished() property->blockSignals(false); property->valueChanged(property->value().getValue()); } + + property->setFocus(); + property->selectAll(); } void LinearGizmo::draggingContinued() @@ -448,6 +451,9 @@ void RotationGizmo::draggingFinished() property->blockSignals(false); property->valueChanged(property->value().getValue()); } + + property->setFocus(); + property->selectAll(); } void RotationGizmo::draggingContinued()