Merge pull request #3825 from PySimpleGUI/Dev-latest

Fix for popup_get_file - wasn't passing the default_extension correctly
This commit is contained in:
PySimpleGUI 2021-01-23 18:41:41 -05:00 committed by GitHub
commit 721b38e998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python3
version = __version__ = "4.34.0.4 Unreleased\nSDK Help Expanded to init & update parms, SDK Help function search, files_delimiter added to FilesBrowse & popup_get_file, SDK help sort by case"
version = __version__ = "4.34.0.5 Unreleased\nSDK Help Expanded to init & update parms, SDK Help function search, files_delimiter added to FilesBrowse & popup_get_file, SDK help sort by case, popup_get_file fixed default_extension not being passed to button correctly"
__version__ = version.split()[0] # For PEP 396 and PEP 345
@ -16257,7 +16257,7 @@ def popup_get_file(message, title=None, default_path='', default_extension='', s
return filename
if save_as:
browse_button = SaveAs(file_types=file_types, initial_folder=initial_folder)
browse_button = SaveAs(file_types=file_types, initial_folder=initial_folder, default_extension=default_extension)
elif multiple_files:
browse_button = FilesBrowse(file_types=file_types, initial_folder=initial_folder, files_delimiter=files_delimiter)
else: