Skip to content

Commit

Permalink
replace "Yes, close all" button text with 'Quit'
Browse files Browse the repository at this point in the history
The explanation is already in the body of the message, and the 'close all'
is confusing for `%qtconsole` launched consoles, which don't halt
their kernels.
  • Loading branch information
minrk committed Dec 13, 2011
1 parent bc36c47 commit 05cbf58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/frontend/qt/console/mainwindow.py
Expand Up @@ -880,8 +880,8 @@ def closeEvent(self, event):
else:
msg = "Close console, stop kernel, and Quit?"
info = "Kernels not started here (e.g. notebooks) will be left alone."
closeall = QtGui.QPushButton("&Yes, quit everything", self)
closeall.setShortcut('Y')
closeall = QtGui.QPushButton("&Quit", self)
closeall.setShortcut('Q')
box = QtGui.QMessageBox(QtGui.QMessageBox.Question,
title, msg)
box.setInformativeText(info)
Expand Down

0 comments on commit 05cbf58

Please sign in to comment.