From 5b5a483e25a447dcdbdf92b41ae66ef674fbdbd3 Mon Sep 17 00:00:00 2001 From: Mizaki Date: Tue, 21 Feb 2023 00:58:13 +0000 Subject: [PATCH] Fix api key test button generation --- comictaggerlib/ui/talkeruigenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/ui/talkeruigenerator.py b/comictaggerlib/ui/talkeruigenerator.py index 1f2a36a..9966d3f 100644 --- a/comictaggerlib/ui/talkeruigenerator.py +++ b/comictaggerlib/ui/talkeruigenerator.py @@ -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)