From 8b6797e1d60e8f39155fbc315a1cb8b3c0bf8a24 Mon Sep 17 00:00:00 2001 From: Uwe Date: Tue, 20 Dec 2022 03:43:33 +0100 Subject: [PATCH] [Gui] fix bug from #8048 - the submenu ordering must be coherent to the one in the preferences combobox otherwise one gets the wrong orbit style displayed in the preferences dialog --- src/Mod/Tux/NavigationIndicatorGui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Tux/NavigationIndicatorGui.py b/src/Mod/Tux/NavigationIndicatorGui.py index 2ae617aa3b..28288b6930 100644 --- a/src/Mod/Tux/NavigationIndicatorGui.py +++ b/src/Mod/Tux/NavigationIndicatorGui.py @@ -359,12 +359,12 @@ gOrbit = QtGui.QActionGroup(menuSettings) aTurntable = QtGui.QAction(gOrbit) aTurntable.setObjectName("NavigationIndicator_Turntable") aTurntable.setCheckable(True) -aFreeTurntable = QtGui.QAction(gOrbit) -aFreeTurntable.setObjectName("NavigationIndicator_FreeTurntable") -aFreeTurntable.setCheckable(True) aTrackball = QtGui.QAction(gOrbit) aTrackball.setObjectName("NavigationIndicator_Trackball") aTrackball.setCheckable(True) +aFreeTurntable = QtGui.QAction(gOrbit) +aFreeTurntable.setObjectName("NavigationIndicator_FreeTurntable") +aFreeTurntable.setCheckable(True) menuOrbit.addAction(aFreeTurntable) menuOrbit.addAction(aTurntable)