Bug fix in image update

This commit is contained in:
MikeTheWatchGuy 2018-09-11 12:16:29 -04:00
parent ea0ea8a18b
commit 8830699f73
1 changed files with 3 additions and 4 deletions

View File

@ -1057,10 +1057,9 @@ class Image(Element):
else:
image = data
else: return
# width, height = image.width(), image.height()
# width, height = image.width(), image.height()
# self.tktext_label.configure(image=image, width=width, height=height)
self.tktext_label.configure(image=image)
width, height = image.width(), image.height()
self.tktext_label.configure(image=image, width=width, height=height)
# self.tktext_label.configure(image=image)
self.tktext_label.image = image
def __del__(self):