##// END OF EJS Templates
Remove extra action generation in "All Magics" menu population....
Dimitry Kloper -
Show More
@@ -653,12 +653,8 b' class MainWindow(QtGui.QMainWindow):'
653 self,
653 self,
654 triggered=self._make_dynamic_magic(pmagic)
654 triggered=self._make_dynamic_magic(pmagic)
655 )
655 )
656 xaction_all = QtGui.QAction(pmagic,
657 self,
658 triggered=self._make_dynamic_magic(pmagic)
659 )
660 magic_menu.addAction(xaction)
656 magic_menu.addAction(xaction)
661 self.all_magic_menu.addAction(xaction_all)
657 self.all_magic_menu.addAction(xaction)
662
658
663 def update_all_magic_menu(self):
659 def update_all_magic_menu(self):
664 """ Update the list of magics in the "All Magics..." Menu
660 """ Update the list of magics in the "All Magics..." Menu
General Comments 0
You need to be logged in to leave comments. Login now