From d2403dcc1f949b26c14f5ca2e363cf13e7f46e7f Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 6 Oct 2006 03:32:35 +0000 Subject: [PATCH] * src/DataViews/_PersonView.py (set_inactive): Check active status. svn: r7357 --- ChangeLog | 1 + src/DataViews/_PersonView.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b9272462..ffc27e2f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-10-05 Alex Roitman + * src/DataViews/_PersonView.py (set_inactive): Check active status. * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade addresses in repositories. * src/Config/_GrampsConfigKeys.py: Regenerate file (proper type diff --git a/src/DataViews/_PersonView.py b/src/DataViews/_PersonView.py index 8dac083a7..317268c27 100644 --- a/src/DataViews/_PersonView.py +++ b/src/DataViews/_PersonView.py @@ -109,8 +109,9 @@ class PersonView(PageView.PersonNavView): self.goto_active_person() def set_inactive(self): - PageView.PersonNavView.set_inactive(self) - self.dbstate.disconnect(self.key_active_changed) + if self.active: + PageView.PersonNavView.set_inactive(self) + self.dbstate.disconnect(self.key_active_changed) def define_actions(self): """