mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression setting the default category icon
This commit is contained in:
parent
c7b54fccf2
commit
9e1faa1475
@ -704,7 +704,7 @@ class TagsView(QTreeView): # {{{
|
|||||||
self._model.set_value_icon(key, TEMPLATE_ICON_INDICATOR, d.rule[2], False)
|
self._model.set_value_icon(key, TEMPLATE_ICON_INDICATOR, d.rule[2], False)
|
||||||
self.recount()
|
self.recount()
|
||||||
return
|
return
|
||||||
(icon_file_name, for_children) = extra
|
(icon_file_name, for_children) = extra if extra is not None else (None, None)
|
||||||
item_val, desired_file_name = make_icon_name(key, index)
|
item_val, desired_file_name = make_icon_name(key, index)
|
||||||
if icon_file_name is None:
|
if icon_file_name is None:
|
||||||
# User wants to specify a specific icon
|
# User wants to specify a specific icon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user