mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Bug 1932984: AttributeError on 'Add-subcategory to <main-category>'
This commit is contained in:
parent
52a87af143
commit
7e49b481e9
@ -136,6 +136,9 @@ class TagBrowserMixin(object): # {{{
|
|||||||
self.tags_view.show_item_at_index(idx)
|
self.tags_view.show_item_at_index(idx)
|
||||||
# Open the editor on the new item to rename it
|
# Open the editor on the new item to rename it
|
||||||
if new_category_name is None:
|
if new_category_name is None:
|
||||||
|
item = m.get_node(idx)
|
||||||
|
item.use_vl = False
|
||||||
|
item.ignore_vl = True
|
||||||
self.tags_view.edit(idx)
|
self.tags_view.edit(idx)
|
||||||
|
|
||||||
def do_edit_user_categories(self, on_category=None):
|
def do_edit_user_categories(self, on_category=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user