* src/gramps_main.py: removed import of TreeModel (does

not exist).


svn: r2196
This commit is contained in:
Don Allingham 2003-10-05 23:38:05 +00:00
parent ce561f598c
commit bf43198a09

View File

@ -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]))