##// END OF EJS Templates
check for active frontend in update_restart_checkbox...
MinRK -
Show More
@@ -849,6 +849,8 b' class MainWindow(QtGui.QMainWindow):'
849 self.confirm_restart_kernel_action.setChecked(widget.confirm_restart)
849 self.confirm_restart_kernel_action.setChecked(widget.confirm_restart)
850
850
851 def update_restart_checkbox(self):
851 def update_restart_checkbox(self):
852 if self.active_frontend is None:
853 return
852 widget = self.active_frontend
854 widget = self.active_frontend
853 self.confirm_restart_kernel_action.setChecked(widget.confirm_restart)
855 self.confirm_restart_kernel_action.setChecked(widget.confirm_restart)
854
856
General Comments 0
You need to be logged in to leave comments. Login now