Fix api key test button generation

This commit is contained in:
Mizaki 2023-02-21 00:58:13 +00:00
parent 33ea8da5bc
commit 5b5a483e25

View File

@ -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)