Skip to content
This repository
Browse code

don't quit if asked once not to shutdown a kernel

  • Loading branch information...
commit 95617a5bfd28829d1a85ea44dd5cda2840551f7e 1 parent 370944b
Matthias Bussonnier authored fperez committed
1  IPython/frontend/qt/console/qtconsoleapp.py
@@ -201,6 +201,7 @@ def closeTab(self,currentTab):
201 201
                     elif reply == 0: # close Console
202 202
                         if not closing_widget._existing:
203 203
                             # Have kernel: don't quit, just close the window
  204
+                            self._app.setQuitOnLastWindowClosed(False)
204 205
                             closing_widget.pasteMagic("exit True")
205 206
                 else:
206 207
                     reply = QtGui.QMessageBox.question(self, title,

0 notes on commit 95617a5

Please sign in to comment.
Something went wrong with that request. Please try again.