From 59f4dc3fe944613499b58bdb0310967bc2830e19 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 2 Jul 2011 14:05:57 +0000 Subject: [PATCH] 5069: Fix bug preventing info objects being added to a root node of a tree svn: r17891 --- src/ListModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ListModel.py b/src/ListModel.py index e27855031..08894481e 100644 --- a/src/ListModel.py +++ b/src/ListModel.py @@ -434,7 +434,7 @@ class ListModel(object): node = self.model.append() elif self.list_mode == "tree": if node is None: # new node - node = self.model.append(None, data + [None]) + node = self.model.append(None, data + [info]) need_to_set = False else: # use a previous node, passed in node = self.model.append(node)