mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
27feac817d
commit
35ce75e29c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user