Listbox: in Update(), point to the new values.

This commit is contained in:
fluxrider 2018-09-09 19:27:29 -04:00
parent 73ed99a56c
commit 38a18042ea
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):