Show More
@@ -83,9 +83,9 b' class MainWindow(QtGui.QMainWindow):' | |||
|
83 | 83 | reply = QtGui.QMessageBox.question(self, title, |
|
84 | 84 | "Are you sure you want to close this Console?\n"+ |
|
85 | 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 | 89 | event.accept() |
|
90 | 90 | else: |
|
91 | 91 | event.ignore() |
General Comments 0
You need to be logged in to leave comments.
Login now