src/eric7/Project/ProjectTranslationsBrowser.py

branch
eric7
changeset 9462
e65379fdbd97
parent 9426
e2a52d98ad20
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9461:24c0c1066090 9462:e65379fdbd97
532 @param coord the position of the mouse pointer (QPoint) 532 @param coord the position of the mouse pointer (QPoint)
533 """ 533 """
534 if not self.project.isOpen(): 534 if not self.project.isOpen():
535 return 535 return
536 536
537 with contextlib.suppress(Exception): 537 with contextlib.suppress(Exception): # secok
538 categories = self.getSelectedItemsCountCategorized( 538 categories = self.getSelectedItemsCountCategorized(
539 [ProjectBrowserFileItem, ProjectBrowserSimpleDirectoryItem] 539 [ProjectBrowserFileItem, ProjectBrowserSimpleDirectoryItem]
540 ) 540 )
541 cnt = categories["sum"] 541 cnt = categories["sum"]
542 if cnt <= 1: 542 if cnt <= 1:

eric ide

mercurial