From f152ac25d898e3c7fd9834c15a8739e8ffa0ee1b Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Fri, 5 Feb 2010 10:27:09 +0000 Subject: [PATCH] fix bug: spouse data was not shown in personviews svn: r14222 --- src/gui/views/treemodels/peoplemodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/treemodels/peoplemodel.py b/src/gui/views/treemodels/peoplemodel.py index cb598d5f0..bf9f8bcd5 100644 --- a/src/gui/views/treemodels/peoplemodel.py +++ b/src/gui/views/treemodels/peoplemodel.py @@ -208,7 +208,7 @@ class PeopleBaseModel(object): family.get_mother_handle()]: if not spouse_id: continue - if spouse_id == handle: + if spouse_id == data[0]: continue spouse = self.db.get_person_from_handle(spouse_id) if spouses_names: