mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 15:49:09 +00:00
fix(ui): display 0 frame webp files in preview panel
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user