summaryrefslogtreecommitdiff
path: root/portato/gui/qt/tree.py
diff options
context:
space:
mode:
authornecoro <>2007-07-09 04:51:41 +0000
committernecoro <>2007-07-09 04:51:41 +0000
commitbaf4d66fea871cd6c285c51fcbb995efe5dd6800 (patch)
tree6bb632c8612f4dde50bceb798593b96e9c234cb1 /portato/gui/qt/tree.py
parent6d9340ebbb5b942b0996053b0479827c1cf81b5a (diff)
downloadportato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.gz
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.bz2
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.zip
added resume_loop plugin
Diffstat (limited to 'portato/gui/qt/tree.py')
-rw-r--r--portato/gui/qt/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/qt/tree.py b/portato/gui/qt/tree.py
index 6e9950f..7c0fa4c 100644
--- a/portato/gui/qt/tree.py
+++ b/portato/gui/qt/tree.py
@@ -72,7 +72,7 @@ class QtTree (Tree):
iter += 1 # next iter ...
newIt = iter.value()
- if newIt.parent() != it.parent(): # stop if we left the current parent
+ if not newIt or newIt.parent() != it.parent(): # stop if we left the current parent
return None
else:
return newIt