* src/gramps_main.py: removed import of TreeModel (does
not exist). svn: r2196
This commit is contained in:
parent
ce561f598c
commit
bf43198a09
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user