mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix problem with restoring the tree position when dropping hierarchical items onto user categories
This commit is contained in:
parent
38a3d25562
commit
a8c278d449
@ -1446,6 +1446,9 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
(not equals_match and lower(name).find(txt) >= 0):
|
||||
self.path_found = path
|
||||
return True
|
||||
for i,c in enumerate(tag_item.children):
|
||||
if process_tag(depth+1, self.createIndex(i, 0, c), c, start_path):
|
||||
return True
|
||||
return False
|
||||
|
||||
def process_level(depth, category_index, start_path):
|
||||
|
Loading…
x
Reference in New Issue
Block a user