From 28069a150cd0061f606ab550409f3b73b297e817 Mon Sep 17 00:00:00 2001 From: et0h Date: Sun, 13 Sep 2020 18:46:34 +0100 Subject: [PATCH] Move 'edit room list' up the menu bar order (#336) --- syncplay/ui/gui.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index b9423a1..ff05c32 100755 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -1706,6 +1706,10 @@ class MainWindow(QtWidgets.QMainWindow): window.windowMenu = QtWidgets.QMenu(getMessage("window-menu-label"), self) + window.editroomsAction = window.windowMenu.addAction(QtGui.QPixmap(resourcespath + 'door_open_edit.png'), getMessage("roomlist-msgbox-label")) + window.editroomsAction.triggered.connect(self.openEditRoomsDialog) + window.menuBar.addMenu(window.windowMenu) + window.playbackAction = window.windowMenu.addAction(getMessage("playbackbuttons-menu-label")) window.playbackAction.setCheckable(True) window.playbackAction.triggered.connect(self.updatePlaybackFrameVisibility) @@ -1714,9 +1718,6 @@ class MainWindow(QtWidgets.QMainWindow): window.autoplayAction.setCheckable(True) window.autoplayAction.triggered.connect(self.updateAutoplayVisibility) - window.editroomsAction = window.windowMenu.addAction(QtGui.QPixmap(resourcespath + 'door_open_edit.png'), getMessage("roomlist-msgbox-label")) - window.editroomsAction.triggered.connect(self.openEditRoomsDialog) - window.menuBar.addMenu(window.windowMenu) # Help menu