Fix for button not updating when Update changed the text
This commit is contained in:
parent
efb82e241c
commit
080450c691
2 changed files with 1 additions and 1 deletions
|
@ -924,6 +924,7 @@ class Button(Element):
|
|||
try:
|
||||
if new_text is not None:
|
||||
self.TKButton.configure(text=new_text)
|
||||
self.ButtonText = new_text
|
||||
if button_color != (None, None):
|
||||
self.TKButton.config(foreground=button_color[0], background=button_color[1])
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue