diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py
index ba46768..edaaff6 100644
--- a/comictaggerlib/taggerwindow.py
+++ b/comictaggerlib/taggerwindow.py
@@ -113,7 +113,7 @@ class TaggerWindow(QtWidgets.QMainWindow):
"alternate_count": self.leAltIssueCount,
"imprint": self.leImprint,
"notes": self.teNotes,
- "web_links": self.leWebLink,
+ "web_links": (self.leWebLink, self.btnOpenWebLink, self.btnAddWebLink, self.btnRemoveWebLink),
"format": self.cbFormat,
"manga": self.cbManga,
"black_and_white": self.cbBW,
@@ -125,7 +125,7 @@ class TaggerWindow(QtWidgets.QMainWindow):
"characters": self.teCharacters,
"teams": self.teTeams,
"locations": self.teLocations,
- "credits": [self.twCredits, self.btnAddCredit, self.btnEditCredit, self.btnRemoveCredit],
+ "credits": (self.twCredits, self.btnAddCredit, self.btnEditCredit, self.btnRemoveCredit),
"credits.person": 2,
"credits.role": 1,
"credits.primary": 0,
diff --git a/comictaggerlib/ui/qtutils.py b/comictaggerlib/ui/qtutils.py
index 7104b9b..23d4e54 100644
--- a/comictaggerlib/ui/qtutils.py
+++ b/comictaggerlib/ui/qtutils.py
@@ -6,6 +6,7 @@ import io
import logging
import traceback
import webbrowser
+from collections.abc import Sequence
from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QWidget
@@ -155,7 +156,7 @@ if qt_available:
active_palette = None
def enable_widget(widget: QtWidgets.QWidget | list[QtWidgets.QWidget], enable: bool) -> None:
- if isinstance(widget, list):
+ if isinstance(widget, Sequence):
for w in widget:
_enable_widget(w, enable)
else:
@@ -214,6 +215,8 @@ if qt_available:
widget.setReadOnly(True)
widget.setPalette(inactive_palette[0])
elif isinstance(widget, QtWidgets.QListWidget):
+ inactive_palette = palettes()
+ widget.setPalette(inactive_palette[0])
widget.setMovement(QtWidgets.QListWidget.Static)
def replaceWidget(
diff --git a/comictaggerlib/ui/taggerwindow.ui b/comictaggerlib/ui/taggerwindow.ui
index 3cc996c..b4074dc 100644
--- a/comictaggerlib/ui/taggerwindow.ui
+++ b/comictaggerlib/ui/taggerwindow.ui
@@ -975,7 +975,7 @@
-
-
+
Delete Item
@@ -998,7 +998,7 @@
-
-
+
Add Item
@@ -1510,7 +1510,7 @@
- btnWebLinkAdd
+ btnAddWebLink
clicked()
actionAddWebLink
trigger()
@@ -1526,7 +1526,7 @@
- btnWebLinkRemove
+ btnRemoveWebLink
clicked()
actionRemoveWebLink
trigger()