From 243d7862980d00c69883f2a32e5e99df6a1d0b3b Mon Sep 17 00:00:00 2001 From: Theasacraft <91694323+Thesacraft@users.noreply.github.com> Date: Fri, 26 Apr 2024 15:41:37 +0200 Subject: [PATCH] Update ts_qt.py to update badges if meta tag field is removed --- tagstudio/src/qt/ts_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagstudio/src/qt/ts_qt.py b/tagstudio/src/qt/ts_qt.py index 78e2989d..6740767f 100644 --- a/tagstudio/src/qt/ts_qt.py +++ b/tagstudio/src/qt/ts_qt.py @@ -2546,7 +2546,7 @@ class PreviewPanel(QWidget): entry = self.lib.get_entry(item_pair[1]) try: index = entry.fields.index(field) - updated_badges = False + updated_badges = False if 8 in entry.fields[index].keys() and (1 in entry.fields[index][8] or 0 in entry.fields[index][8]): updated_badges = True # TODO: Create a proper Library/Entry method to manage fields.