Fix api key test button generation
This commit is contained in:
parent
33ea8da5bc
commit
5b5a483e25
@ -108,7 +108,7 @@ def generate_textbox(
|
||||
layout.addWidget(widget, row, 1)
|
||||
|
||||
# Special case for api_key, make a test button
|
||||
if option.internal_name.endswith("api_key"):
|
||||
if option.internal_name.endswith("key"):
|
||||
btn = QtWidgets.QPushButton("Test Key")
|
||||
layout.addWidget(btn, row, 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user