Enabled a default title in PopupGetFolder if one isn't specified

This commit is contained in:
MikeTheWatchGuy 2019-03-16 17:13:34 -04:00
parent c7fcd50632
commit a74b603a86
1 changed files with 1 additions and 1 deletions

View File

@ -7410,7 +7410,7 @@ def PopupGetFolder(message, title=None, default_path='', no_window=False, size=(
[InputText(default_text=default_path, size=size), FolderBrowse(initial_folder=initial_folder)],
[CloseButton('Ok', size=(5, 1), bind_return_key=True), CloseButton('Cancel', size=(5, 1))]]
window = Window(title=title, icon=icon, auto_size_text=True, button_color=button_color,
window = Window(title=title or message, icon=icon, auto_size_text=True, button_color=button_color,
background_color=background_color,
font=font, no_titlebar=no_titlebar, grab_anywhere=grab_anywhere, keep_on_top=keep_on_top,
location=location)