Gui: change the group for the gizmo preferences

This commit is contained in:
captain0xff
2025-09-26 20:11:25 +05:30
committed by Chris Hennes
parent 529c624afc
commit d08a7f1c0d
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ bool Gizmo::isDelayedUpdateEnabled()
{
static Base::Reference<ParameterGrp> 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<ParameterGrp> hGrp = App::GetApplication()
.GetUserParameter()
.GetGroup("BaseApp/Preferences/Mod/PartDesign");
.GetGroup("BaseApp/Preferences/Gui/Gizmos");
return hGrp->GetBool("EnableGizmos", true);
}

View File

@@ -282,7 +282,7 @@
<cstring>EnableGizmos</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/PartDesign</cstring>
<cstring>Gui/Gizmos</cstring>
</property>
</widget>
</item>
@@ -295,7 +295,7 @@
<cstring>DelayedGizmoUpdate</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/PartDesign</cstring>
<cstring>Gui/Gizmos</cstring>
</property>
</widget>
</item>