982 Private method to check, if items contain file type items. |
982 Private method to check, if items contain file type items. |
983 |
983 |
984 @param items items to check (list of QTreeWidgetItems) |
984 @param items items to check (list of QTreeWidgetItems) |
985 @return flag indicating items contain file type items (boolean) |
985 @return flag indicating items contain file type items (boolean) |
986 """ |
986 """ |
987 for itm in items: |
987 return any(isinstance(itm, ProjectBrowserFileItem) for itm in items) |
988 if isinstance(itm, ProjectBrowserFileItem): |
|
989 return True |
|
990 return False |
|