320 if menu is not None: |
320 if menu is not None: |
321 menu.removeAction(self.__editorAct) |
321 menu.removeAction(self.__editorAct) |
322 |
322 |
323 self.__initialize() |
323 self.__initialize() |
324 |
324 |
325 def __projectShowMenu(self, menuName, menu): |
325 def __projectShowMenu(self, menuName, menu): # noqa: U100 |
326 """ |
326 """ |
327 Private slot called, when the the project menu or a submenu is |
327 Private slot called, when the the project menu or a submenu is |
328 about to be shown. |
328 about to be shown. |
329 |
329 |
330 @param menuName name of the menu to be shown (string) |
330 @param menuName name of the menu to be shown (string) |