Show More
@@ -622,8 +622,10 class MainWindow(QtGui.QMainWindow): | |||
|
622 | 622 | self.magic_menu = self.menuBar().addMenu("&Magic") |
|
623 | 623 | self.all_magic_menu = self.magic_menu.addMenu("&All Magics") |
|
624 | 624 | |
|
625 |
# |
|
|
626 |
# |
|
|
625 | # This action should usually not appear as it will be cleared when menu | |
|
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 | 629 | self.pop = QtGui.QAction("&Update All Magic Menu ", |
|
628 | 630 | self, triggered=self.update_all_magic_menu) |
|
629 | 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