From 8a4d4def072dd06433b7c60aef62aa49f518d731 Mon Sep 17 00:00:00 2001 From: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:42:22 -0700 Subject: [PATCH] fix: undo #899 regression --- src/tagstudio/qt/mixed/item_thumb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tagstudio/qt/mixed/item_thumb.py b/src/tagstudio/qt/mixed/item_thumb.py index 106ea828..5285ac7b 100644 --- a/src/tagstudio/qt/mixed/item_thumb.py +++ b/src/tagstudio/qt/mixed/item_thumb.py @@ -367,7 +367,7 @@ class ItemThumb(FlowWidget): if ext and ext.startswith(".") is False: ext = "." + ext media_types: set[MediaType] = MediaCategories.get_types(ext) - if ext and ( + if ( not MediaCategories.is_ext_in_category(ext, MediaCategories.IMAGE_TYPES) or MediaCategories.is_ext_in_category(ext, MediaCategories.IMAGE_RAW_TYPES) or MediaCategories.is_ext_in_category(ext, MediaCategories.IMAGE_VECTOR_TYPES)