From 15c3aee386ac2dd3bc0d751d99c18256ac14927b Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 3 May 2006 18:33:31 +0000 Subject: [PATCH] update RelView with db changes svn: r6533 --- gramps2/ChangeLog | 1 + gramps2/src/DataViews/_FamilyView.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 1e6bbf2e8..3fa430f55 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-05-03 Don Allingham + * src/DataViews/_FamilyView.py: update on db change * src/DataViews/_FamilyList.py: Move ColumnEdit local * src/ViewManager.py: remove ColumnEdit, make local diff --git a/gramps2/src/DataViews/_FamilyView.py b/gramps2/src/DataViews/_FamilyView.py index 9d8dac95d..8e1216363 100644 --- a/gramps2/src/DataViews/_FamilyView.py +++ b/gramps2/src/DataViews/_FamilyView.py @@ -84,7 +84,7 @@ class FamilyView(PageView.PersonNavView): self, _('Relationships'), dbstate, uistate) dbstate.connect('database-changed', self.change_db) - dbstate.connect('active-changed', self.change_person) + dbstate.connect('active-changed', self.redraw) self.show_siblings = Config.get(Config.FAMILY_SIBLINGS) self.show_details = Config.get(Config.FAMILY_DETAILS) self.connect_to_db(dbstate.db) @@ -248,6 +248,7 @@ class FamilyView(PageView.PersonNavView): self.bookmarks.update_bookmarks(db.get_bookmarks()) if self.active: self.bookmarks.redraw() + self.redraw() def get_name(self, handle, use_gender=False): if handle: