From c58f3ff49b9c9822dc2fe83b94a1aad5d0d95df7 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Fri, 31 Dec 2010 15:54:23 +0000 Subject: [PATCH] Change explanatory comment for find_node --- src/calibre/gui2/tag_view.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/tag_view.py b/src/calibre/gui2/tag_view.py index e609a26a4b..846ee064cd 100644 --- a/src/calibre/gui2/tag_view.py +++ b/src/calibre/gui2/tag_view.py @@ -948,7 +948,10 @@ class TagsModel(QAbstractItemModel): # {{{ ''' Search for an item (a node) in the tags browser list that matches both 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: return None