##// END OF EJS Templates
simplified close message
MinRK -
Show More
@@ -53,8 +53,8 b' class MainWindow(QtGui.QMainWindow):'
53 title = self.window().windowTitle()
53 title = self.window().windowTitle()
54 reply = QtGui.QMessageBox.question(self, title,
54 reply = QtGui.QMessageBox.question(self, title,
55 "Close just this console, or shutdown the kernel and close "+
55 "Close just this console, or shutdown the kernel and close "+
56 "all windows attached to it?", "Cancel",
56 "all windows attached to it?",
57 'Close Console', 'Close All')
57 'Cancel', 'Close Console', 'Close All')
58 print reply
58 print reply
59 if reply == 2:
59 if reply == 2:
60 kernel_manager.shutdown_kernel()
60 kernel_manager.shutdown_kernel()
General Comments 0
You need to be logged in to leave comments. Login now