From bf43198a098ca236bdad7c968d0310328673b8d9 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 5 Oct 2003 23:38:05 +0000 Subject: [PATCH] * src/gramps_main.py: removed import of TreeModel (does not exist). svn: r2196 --- src/PeopleView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PeopleView.py b/src/PeopleView.py index b4c520188..d7eebae40 100644 --- a/src/PeopleView.py +++ b/src/PeopleView.py @@ -83,7 +83,7 @@ class PeopleView: def row_changed(self,obj): mlist = self.person_tree.get_selected_objects() - if mlist: + if mlist and mlist[0]: self.parent.change_active_person(self.parent.db.getPerson(mlist[0])) try: self.parent.change_active_person(self.parent.db.getPerson(mlist[0]))