965 Private method to check, if items contain file type items. |
965 Private method to check, if items contain file type items. |
966 |
966 |
967 @param items items to check (list of QTreeWidgetItems) |
967 @param items items to check (list of QTreeWidgetItems) |
968 @return flag indicating items contain file type items (boolean) |
968 @return flag indicating items contain file type items (boolean) |
969 """ |
969 """ |
970 for itm in items: |
970 return any(isinstance(itm, ProjectBrowserFileItem) for itm in items) |
971 if isinstance(itm, ProjectBrowserFileItem): |
|
972 return True |
|
973 return False |
|