From 148a1049baea736f26b4ce527b0ea6f7c5538441 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 11 Aug 2018 22:43:09 -0400 Subject: [PATCH] Fix for sliders (again) --- PySimpleGUI.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index e4cacc30..948c557f 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1234,9 +1234,11 @@ def BuildResults(form): value = 0 results[row_num][col_num] = value input_values.append(value) - try: + if element.Key is None: + input_values_dictionary[key_counter] = value + key_counter +=1 + else: input_values_dictionary[element.Key] = value - except: pass elif element.Type == ELEM_TYPE_INPUT_MULTILINE: try: value=element.TKText.get(1.0, tk.END)