Generate password box for any settings dest name that end in password
This commit is contained in:
parent
360a9e6308
commit
5684694055
@ -336,6 +336,8 @@ def generate_source_option_tabs(
|
||||
elif option._guess_type() is str:
|
||||
if option.choices is not None:
|
||||
current_widget = generate_combobox(option, layout_grid)
|
||||
elif option.dest.lower().endswith("password"):
|
||||
current_widget = generate_password_textbox(option, layout_grid)
|
||||
else:
|
||||
current_widget = generate_textbox(option, layout_grid)
|
||||
tab.widgets[option.dest] = current_widget
|
||||
|
Loading…
Reference in New Issue
Block a user