From b9a7bfe237e0e64116e8f2a184adec2982c8c711 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Thu, 9 Jul 2020 05:30:44 -0400 Subject: [PATCH] Fix for missing k paramter in FileBrowse button --- PySimpleGUI.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 7e8fa853..118b1db3 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -7851,9 +7851,6 @@ class Window: except: pass self.TKrootDestroyed = True - for row in self.Rows: - for elem in row: - del elem del self.Rows del self.TKroot @@ -8641,7 +8638,7 @@ def FolderBrowse(button_text='Browse', target=(ThisRow, -1), initial_folder=None def FileBrowse(button_text='Browse', target=(ThisRow, -1), file_types=(("ALL Files", "*.*"),), initial_folder=None, tooltip=None, size=(None, None), auto_size_button=None, button_color=None, change_submits=False, enable_events=False, font=None, disabled=False, - pad=None, key=None, metadata=None): + pad=None, key=None, k=None, metadata=None): """ :param button_text: text in the button (Default value = 'Browse')