From b3639adf7b780bc3bb8081124ab624913689d7db 2011-10-20 01:54:17 From: MinRK Date: 2011-10-20 01:54:17 Subject: [PATCH] fix inverted OSX platform check --- diff --git a/IPython/frontend/qt/console/mainwindow.py b/IPython/frontend/qt/console/mainwindow.py index d5ed7e3..f1ae371 100644 --- a/IPython/frontend/qt/console/mainwindow.py +++ b/IPython/frontend/qt/console/mainwindow.py @@ -361,7 +361,7 @@ class MainWindow(QtGui.QMainWindow): triggered=self.print_action_active_frontend) self.add_menu_action(self.file_menu, self.print_action) - if sys.platform == 'darwin': + if sys.platform != 'darwin': # OSX always has Quit in the Application menu, only add it # to the File menu elsewhere.