mirror of https://github.com/Syncplay/syncplay
Move 'edit room list' up the menu bar order (#336)
This commit is contained in:
parent
10981abb88
commit
28069a150c
|
@ -1706,6 +1706,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
window.windowMenu = QtWidgets.QMenu(getMessage("window-menu-label"), self)
|
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 = window.windowMenu.addAction(getMessage("playbackbuttons-menu-label"))
|
||||||
window.playbackAction.setCheckable(True)
|
window.playbackAction.setCheckable(True)
|
||||||
window.playbackAction.triggered.connect(self.updatePlaybackFrameVisibility)
|
window.playbackAction.triggered.connect(self.updatePlaybackFrameVisibility)
|
||||||
|
@ -1714,9 +1718,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
window.autoplayAction.setCheckable(True)
|
window.autoplayAction.setCheckable(True)
|
||||||
window.autoplayAction.triggered.connect(self.updateAutoplayVisibility)
|
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
|
# Help menu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue