diff --git a/gramps2/src/PeopleView.py b/gramps2/src/PeopleView.py index b4c520188..d7eebae40 100644 --- a/gramps2/src/PeopleView.py +++ b/gramps2/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]))