fix a exception when trying to edit a rule recently created

when commiting the change, TypeError: 'tuple' object does not support item assignment

this only occurs if the rule was create during the current session
but not in a new session
This commit is contained in:
un-pogaz 2025-01-30 17:35:34 +01:00
parent 27feac817d
commit 35ce75e29c

View File

@ -532,7 +532,7 @@ class TbIconRulesTab(LazyConfigWidgetBase, Ui_Form):
continue
icon_item = self.rules_table.item(r, ICON_COLUMN)
d = v[cat_item.lookup_name][value_text]
d = list(v[cat_item.lookup_name][value_text])
if icon_item.is_modified:
if value_item.is_template: