252 if menu is not None: |
252 if menu is not None: |
253 menu.removeAction(self.__editorAct) |
253 menu.removeAction(self.__editorAct) |
254 |
254 |
255 self.__initialize() |
255 self.__initialize() |
256 |
256 |
257 def __projectShowMenu(self, menuName, menu): |
257 def __projectShowMenu(self, menuName, menu): # noqa: U100 |
258 """ |
258 """ |
259 Private slot called, when the the project menu or a submenu is |
259 Private slot called, when the the project menu or a submenu is |
260 about to be shown. |
260 about to be shown. |
261 |
261 |
262 @param menuName name of the menu to be shown (string) |
262 @param menuName name of the menu to be shown (string) |