bugfix: display the menu bar in OS X

This commit is contained in:
Georg G 2015-12-19 19:39:47 +01:00
parent 5fc49a1f73
commit 7ba94108d9

View File

@ -875,7 +875,8 @@ class MainWindow(QtGui.QMainWindow):
window.updateAction.triggered.connect(self.userCheckForUpdates)
window.menuBar.addMenu(window.helpMenu)
window.mainLayout.setMenuBar(window.menuBar)
if not sys.platform.startswith('darwin'):
window.mainLayout.setMenuBar(window.menuBar)
def addMainFrame(self, window):
window.mainFrame = QtGui.QFrame()