Merge pull request #177 from fluxrider/master

Listbox: in Update(), point to the new values.
This commit is contained in:
MikeTheWatchGuy 2018-09-09 21:50:57 -04:00 committed by GitHub
commit d1239fa607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ class Listbox(Element):
for item in values:
self.TKListbox.insert(tk.END, item)
self.TKListbox.selection_set(0, 0)
self.Values = values
def SetValue(self, values):
for index, item in enumerate(self.Values):