##// END OF EJS Templates
check for active frontend in update_restart_checkbox...
MinRK -
Show More
@@ -849,6 +849,8 class MainWindow(QtGui.QMainWindow):
849 849 self.confirm_restart_kernel_action.setChecked(widget.confirm_restart)
850 850
851 851 def update_restart_checkbox(self):
852 if self.active_frontend is None:
853 return
852 854 widget = self.active_frontend
853 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