mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
e9dd0c5c4f
commit
6ecf4e8858
@ -729,10 +729,9 @@ class TagsView(QTreeView): # {{{
|
||||
icon_file_name = desired_file_name
|
||||
if index is None: # category icon
|
||||
self._model.set_custom_category_icon(key, str(icon_file_name))
|
||||
self.recount()
|
||||
else: # value icon
|
||||
self._model.set_value_icon(key, item_val, icon_file_name, bool(for_children))
|
||||
self.recount()
|
||||
self.recount()
|
||||
return
|
||||
if action == 'clear_icon_value':
|
||||
if index is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user