mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Put code accidentally commented out back.
This commit is contained in:
parent
584e989537
commit
da7b740591
@ -1236,8 +1236,8 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
self.beginInsertRows(category_index, 999999, 1)
|
self.beginInsertRows(category_index, 999999, 1)
|
||||||
n = TagTreeItem(parent=node_parent, data=tag, tooltip=tt,
|
n = TagTreeItem(parent=node_parent, data=tag, tooltip=tt,
|
||||||
icon_map=self.icon_state_map)
|
icon_map=self.icon_state_map)
|
||||||
# if tag.id_set is not None:
|
if tag.id_set is not None:
|
||||||
# n.id_set |= tag.id_set
|
n.id_set |= tag.id_set
|
||||||
category_child_map[tag.name, tag.category] = n
|
category_child_map[tag.name, tag.category] = n
|
||||||
self.endInsertRows()
|
self.endInsertRows()
|
||||||
tag.is_editable = key != 'formats' and (key == 'news' or \
|
tag.is_editable = key != 'formats' and (key == 'news' or \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user