Skip to content
Browse files

Fixed clearing of Output Element using Update method. Wasn't setting …

…"CurrentValue" variable, only the widget
  • Loading branch information...
MikeTheWatchGuy committed Jun 3, 2019
1 parent 97d374c commit 648294c0fcc73da0a49b68e0d8798d3ee56ad898
Showing with 1 addition and 0 deletions.
  1. +1 −0 PySimpleGUIWeb/
@@ -1305,6 +1305,7 @@ def __init__(self, size=(None, None), background_color=None, text_color=None, pa
def Update(self, value=None, disabled=None, append=False, background_color=None, text_color=None, font=None, visible=None):
if value is not None and not append:
self.CurrentValue = str(value)
elif value is not None and append:
self.CurrentValue = self.CurrentValue + '\n' + str(value)

0 comments on commit 648294c

Please sign in to comment.
You can’t perform that action at this time.