Bug fix in image update
This commit is contained in:
parent
ea0ea8a18b
commit
8830699f73
|
@ -1057,10 +1057,9 @@ class Image(Element):
|
||||||
else:
|
else:
|
||||||
image = data
|
image = data
|
||||||
else: return
|
else: return
|
||||||
# width, height = image.width(), image.height()
|
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=width, height=height)
|
# self.tktext_label.configure(image=image)
|
||||||
self.tktext_label.configure(image=image)
|
|
||||||
self.tktext_label.image = image
|
self.tktext_label.image = image
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
|
|
Loading…
Reference in New Issue