fix(ui): display 0 frame webp files in preview panel

This commit is contained in:
Travis Abendshien
2025-03-22 12:09:31 -07:00
parent 477173661a
commit 64dc88afa9

View File

@@ -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