Show More
@@ -622,8 +622,10 b' class MainWindow(QtGui.QMainWindow):' | |||||
622 | self.magic_menu = self.menuBar().addMenu("&Magic") |
|
622 | self.magic_menu = self.menuBar().addMenu("&Magic") | |
623 | self.all_magic_menu = self.magic_menu.addMenu("&All Magics") |
|
623 | self.all_magic_menu = self.magic_menu.addMenu("&All Magics") | |
624 |
|
624 | |||
625 |
# |
|
625 | # This action should usually not appear as it will be cleared when menu | |
626 |
# |
|
626 | # is updated at first kernel response. Though, it is necessary when | |
|
627 | # connecting through X-forwarding, as in this case, the menu is not | |||
|
628 | # auto updated, SO DO NOT DELETE. | |||
627 | self.pop = QtGui.QAction("&Update All Magic Menu ", |
|
629 | self.pop = QtGui.QAction("&Update All Magic Menu ", | |
628 | self, triggered=self.update_all_magic_menu) |
|
630 | self, triggered=self.update_all_magic_menu) | |
629 | self.add_menu_action(self.all_magic_menu, self.pop) |
|
631 | self.add_menu_action(self.all_magic_menu, self.pop) |
General Comments 0
You need to be logged in to leave comments.
Login now