From 38a18042eaa5e8b1934d665923cf640635b91f53 Mon Sep 17 00:00:00 2001 From: fluxrider Date: Sun, 9 Sep 2018 19:27:29 -0400 Subject: [PATCH] Listbox: in Update(), point to the new values. --- PySimpleGUI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index c9a00233..155e5e1d 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -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):