Merge pull request #177 from fluxrider/master
Listbox: in Update(), point to the new values.
This commit is contained in:
commit
d1239fa607
|
@ -420,6 +420,7 @@ class Listbox(Element):
|
||||||
for item in values:
|
for item in values:
|
||||||
self.TKListbox.insert(tk.END, item)
|
self.TKListbox.insert(tk.END, item)
|
||||||
self.TKListbox.selection_set(0, 0)
|
self.TKListbox.selection_set(0, 0)
|
||||||
|
self.Values = values
|
||||||
|
|
||||||
def SetValue(self, values):
|
def SetValue(self, values):
|
||||||
for index, item in enumerate(self.Values):
|
for index, item in enumerate(self.Values):
|
||||||
|
|
Loading…
Reference in New Issue