Fix for missing k paramter in FileBrowse button

This commit is contained in:
PySimpleGUI 2020-07-09 05:30:44 -04:00
parent 587cb5f3a5
commit b9a7bfe237
1 changed files with 1 additions and 4 deletions

View File

@ -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')