mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Change explanatory comment for find_node
This commit is contained in:
parent
e98f14292a
commit
c58f3ff49b
@ -948,7 +948,10 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
'''
|
'''
|
||||||
Search for an item (a node) in the tags browser list that matches both
|
Search for an item (a node) in the tags browser list that matches both
|
||||||
the key (exact case-insensitive match) and txt (contains case-
|
the key (exact case-insensitive match) and txt (contains case-
|
||||||
insensitive match). Returns the path to the node.
|
insensitive match). Returns the path to the node. Note that paths are to
|
||||||
|
a location (second item, fourth item, 25 item), not to a node. If the
|
||||||
|
tree is changed subsequent to calling this method, the path can easily
|
||||||
|
refer to a different node or no node at all.
|
||||||
'''
|
'''
|
||||||
if not txt:
|
if not txt:
|
||||||
return None
|
return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user