2004-08-17 Tim Waugh <twaugh@redhat.com>

* src/FamilyView.py (spouse_changed): Update display.


svn: r3418
This commit is contained in:
Tim Waugh 2004-08-17 16:58:34 +00:00
parent 9b461526c0
commit f41204f7c3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2004-08-17 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (spouse_changed): Update display.
2004-08-16 Tim Waugh <twaugh@redhat.com> 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (__init__): Update display after initialization. * src/gramps_main.py (__init__): Update display after initialization.
This fixes a display problem when family view is the default. This fixes a display problem when family view is the default.

View File

@ -505,7 +505,9 @@ class FamilyView:
self.display_marriage(None) self.display_marriage(None)
else: else:
row = model.get_path(iter) row = model.get_path(iter)
id = self.person.get_family_handle_list()[row[0]] family_handle = self.person.get_family_handle_list()[row[0]]
fam = self.parent.db.get_family_from_handle(family_handle)
self.display_marriage(fam)
def build_spouse_menu(self,event): def build_spouse_menu(self,event):