job_status: fix issue with thumbnails in some resolutions
This commit is contained in:
parent
e1961db6e9
commit
a44f8f7b13
@ -830,7 +830,7 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
|
|
||||||
def show_file_thumbnail(self):
|
def show_file_thumbnail(self):
|
||||||
if self._files.has_thumbnail(self.filename):
|
if self._files.has_thumbnail(self.filename):
|
||||||
pixbuf = self.get_file_image(self.filename, 5, 5)
|
pixbuf = self.get_file_image(self.filename, 5, 4)
|
||||||
if pixbuf is not None:
|
if pixbuf is not None:
|
||||||
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user