Show More
@@ -83,9 +83,9 b' class MainWindow(QtGui.QMainWindow):' | |||||
83 | reply = QtGui.QMessageBox.question(self, title, |
|
83 | reply = QtGui.QMessageBox.question(self, title, | |
84 | "Are you sure you want to close this Console?\n"+ |
|
84 | "Are you sure you want to close this Console?\n"+ | |
85 | "The Kernel and other Consoles will remain active.", |
|
85 | "The Kernel and other Consoles will remain active.", | |
86 |
QtGui.QMessageBox. |
|
86 | QtGui.QMessageBox.Cancel, QtGui.QMessageBox.Ok | |
87 | ) |
|
87 | ) | |
88 |
if reply == QtGui.QMessageBox. |
|
88 | if reply == QtGui.QMessageBox.Ok: | |
89 | event.accept() |
|
89 | event.accept() | |
90 | else: |
|
90 | else: | |
91 | event.ignore() |
|
91 | event.ignore() |
General Comments 0
You need to be logged in to leave comments.
Login now