Skip to content

Commit ba8fd67

Browse files
committed
Reorder menu
1 parent ce1b9da commit ba8fd67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/UCRMain.ahk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,13 @@ Class UCRMain extends _UCRBase {
212212
; Creates the objects for the Main Menu
213213
_CreateMainMenu(){
214214
this.MainMenu := new _Menu()
215+
this.MainMenu.AddSubMenu("Gui&Controls", "GuiControls")
216+
.AddMenuItem("Show Joystick &Names (Requires Restart)", "ShowJoystickNames", this._MenuHandler.Bind(this, "ShowJoystickNames"))
215217
this.MainMenu.AddSubMenu("&View", "View")
216218
.AddMenuItem("Start Minimized", "StartMinimized", this._MenuHandler.Bind(this, "StartMinimized"))
217219
.parent.AddMenuItem("Minimize to Tray", "MinimizeToTray", this._MenuHandler.Bind(this, "MinimizeToTray"))
218-
this.MainMenu.AddSubMenu("Gui&Controls", "GuiControls")
219-
.AddMenuItem("Show Joystick &Names (Requires Restart)", "ShowJoystickNames", this._MenuHandler.Bind(this, "ShowJoystickNames"))
220220
this.MainMenu.AddSubMenu("&Debug", "Debug")
221-
.AddMenuItem("Show vJoy Log", "ShowvJoyLog", this._MenuHandler.Bind(this, "ShowvJoyLog"))
221+
.AddMenuItem("Show vJoy Log...", "ShowvJoyLog", this._MenuHandler.Bind(this, "ShowvJoyLog"))
222222
Gui, % this.hwnd ":Menu", % this.MainMenu.id
223223
}
224224

0 commit comments

Comments
 (0)