From a62b15353e602a6f1a597c0b059567a7714919a2 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 28 Jul 2009 18:15:49 +0000 Subject: [PATCH] Tweak to check that value passed is not None svn: r12844 --- src/ListModel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ListModel.py b/src/ListModel.py index 0f29f61f4..0c7559d5f 100644 --- a/src/ListModel.py +++ b/src/ListModel.py @@ -357,7 +357,8 @@ class ListModel(object): self.model.set_value(node, col, obj) col += 1 self.model.set_value(node, col, info) - if info: + + if info is not None: self.idmap[str(info)] = node if select: self.sel_iter = node