196 if menu: |
196 if menu: |
197 menu.removeAction(self.__projectAct) |
197 menu.removeAction(self.__projectAct) |
198 ericApp().getObject("Project").removeEricActions([self.__projectAct]) |
198 ericApp().getObject("Project").removeEricActions([self.__projectAct]) |
199 self.__initialize() |
199 self.__initialize() |
200 |
200 |
201 def __projectShowMenu(self, menuName, menu): |
201 def __projectShowMenu(self, menuName, menu): # noqa: U100 |
202 """ |
202 """ |
203 Private slot called, when the the project menu or a submenu is |
203 Private slot called, when the the project menu or a submenu is |
204 about to be shown. |
204 about to be shown. |
205 |
205 |
206 @param menuName name of the menu to be shown (string) |
206 @param menuName name of the menu to be shown (string) |