Fixed missing key in PopupGetText

This commit is contained in:
MikeTheWatchGuy 2019-07-24 08:28:01 -04:00
parent 07c6e665f6
commit e4fae9ba65
1 changed files with 1 additions and 1 deletions

View File

@ -7277,7 +7277,7 @@ def PopupGetText(message, title=None, default_text='', password_char='', size=(N
"""
layout = [[Text(message, auto_size_text=True, text_color=text_color, background_color=background_color, font=font)],
[InputText(default_text=default_text, size=size, password_char=password_char)],
[InputText(default_text=default_text, size=size, password_char=password_char, key='_INPUT_')],
[CloseButton('Ok', size=(60, 20), bind_return_key=True), CloseButton('Cancel', size=(60, 20))]]
_title = title if title is not None else message