Skip to content

Commit

Permalink
Yes/No -> OK/Cancel in ipythonqt dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Oct 14, 2010
1 parent 56a82ee commit ffb1edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/frontend/qt/console/ipythonqt.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def closeEvent(self, event):
reply = QtGui.QMessageBox.question(self, title,
"Are you sure you want to close this Console?\n"+
"The Kernel and other Consoles will remain active.",
QtGui.QMessageBox.Yes, QtGui.QMessageBox.No
QtGui.QMessageBox.Cancel, QtGui.QMessageBox.Ok
)
if reply == QtGui.QMessageBox.Yes:
if reply == QtGui.QMessageBox.Ok:
event.accept()
else:
event.ignore()
Expand Down

0 comments on commit ffb1edd

Please sign in to comment.