src/eric7/Plugins/PluginSyntaxChecker.py

branch
server
changeset 10704
27d21e5163b8
parent 10582
8264ea1f42e5
parent 10683
779cda568acb
child 10718
c9252721680b
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
272 if menu is not None: 272 if menu is not None:
273 menu.removeAction(self.__editorAct) 273 menu.removeAction(self.__editorAct)
274 274
275 self.__initialize() 275 self.__initialize()
276 276
277 def __projectShowMenu(self, menuName, menu): # noqa: U100 277 def __projectShowMenu(self, menuName, _menu):
278 """ 278 """
279 Private slot called, when the the project menu or a submenu is 279 Private slot called, when the the project menu or a submenu is
280 about to be shown. 280 about to be shown.
281 281
282 @param menuName name of the menu to be shown 282 @param menuName name of the menu to be shown
283 @type str 283 @type str
284 @param menu reference to the menu 284 @param _menu reference to the menu (unused)
285 @type QMenu 285 @type QMenu
286 """ 286 """
287 if menuName == "Checks" and self.__projectAct is not None: 287 if menuName == "Checks" and self.__projectAct is not None:
288 self.__projectAct.setEnabled( 288 self.__projectAct.setEnabled(
289 ericApp().getObject("Project").getProjectLanguage() 289 ericApp().getObject("Project").getProjectLanguage()

eric ide

mercurial