From 64dc88afa90bb11f3c9b74a2522f947370ce21db Mon Sep 17 00:00:00 2001 From: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com> Date: Sat, 22 Mar 2025 12:09:31 -0700 Subject: [PATCH] fix(ui): display 0 frame webp files in preview panel --- src/tagstudio/qt/widgets/preview/preview_thumb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tagstudio/qt/widgets/preview/preview_thumb.py b/src/tagstudio/qt/widgets/preview/preview_thumb.py index fbc6c485..66572750 100644 --- a/src/tagstudio/qt/widgets/preview/preview_thumb.py +++ b/src/tagstudio/qt/widgets/preview/preview_thumb.py @@ -255,7 +255,7 @@ class PreviewThumb(QWidget): self.preview_gif.setMovie(movie) # If the animation only has 1 frame, display it like a normal image. - if movie.frameCount() == 1: + if movie.frameCount() <= 1: self._display_fallback_image(filepath, ext) return stats