Button no longer closes the Window!!

This commit is contained in:
MikeTheWatchGuy 2018-10-28 12:39:55 -04:00
parent 1c3a385740
commit 8c326024f4
1 changed files with 1 additions and 1 deletions

View File

@ -1171,7 +1171,7 @@ class Output(Element):
# Button Class #
# ---------------------------------------------------------------------- #
class Button(Element):
def __init__(self, button_text='', button_type=BUTTON_TYPE_CLOSES_WIN, target=(None, None), tooltip=None,
def __init__(self, button_text='', button_type=BUTTON_TYPE_READ_FORM, target=(None, None), tooltip=None,
file_types=(("ALL Files", "*.*"),), initial_folder=None, disabled=False, image_filename=None,
image_data=None, image_size=(None, None), image_subsample=None, border_width=None, size=(None, None),
auto_size_button=None, button_color=None, font=None, bind_return_key=False,