From d08a7f1c0d5891d6bd50e80f82dc77d950b60505 Mon Sep 17 00:00:00 2001 From: captain0xff Date: Fri, 26 Sep 2025 20:11:25 +0530 Subject: [PATCH] Gui: change the group for the gizmo preferences --- src/Gui/Inventor/Draggers/Gizmo.cpp | 4 ++-- src/Mod/Part/Gui/DlgSettingsGeneral.ui | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Gui/Inventor/Draggers/Gizmo.cpp b/src/Gui/Inventor/Draggers/Gizmo.cpp index ee29a99b09..09e90daab9 100644 --- a/src/Gui/Inventor/Draggers/Gizmo.cpp +++ b/src/Gui/Inventor/Draggers/Gizmo.cpp @@ -64,7 +64,7 @@ bool Gizmo::isDelayedUpdateEnabled() { static Base::Reference hGrp = App::GetApplication() .GetUserParameter() - .GetGroup("BaseApp/Preferences/Mod/PartDesign"); + .GetGroup("BaseApp/Preferences/Gui/Gizmos"); return hGrp->GetBool("DelayedGizmoUpdate", false); } @@ -775,7 +775,7 @@ bool GizmoContainer::isEnabled() { static Base::Reference hGrp = App::GetApplication() .GetUserParameter() - .GetGroup("BaseApp/Preferences/Mod/PartDesign"); + .GetGroup("BaseApp/Preferences/Gui/Gizmos"); return hGrp->GetBool("EnableGizmos", true); } diff --git a/src/Mod/Part/Gui/DlgSettingsGeneral.ui b/src/Mod/Part/Gui/DlgSettingsGeneral.ui index fc574eaca2..96f30f4dac 100644 --- a/src/Mod/Part/Gui/DlgSettingsGeneral.ui +++ b/src/Mod/Part/Gui/DlgSettingsGeneral.ui @@ -282,7 +282,7 @@ EnableGizmos - Mod/PartDesign + Gui/Gizmos @@ -295,7 +295,7 @@ DelayedGizmoUpdate - Mod/PartDesign + Gui/Gizmos