Merge pull request #86 from nilsding/master

bugfix: display the menu bar in OS X
This commit is contained in:
Etoh 2015-12-19 20:10:01 +00:00
commit c71d99d8aa

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()