* src/DataViews/_PersonView.py (set_inactive): Check active status.

svn: r7357
This commit is contained in:
Alex Roitman 2006-10-06 03:32:35 +00:00
parent 6c5bfa69e3
commit 3112a1e332
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2006-10-05 Alex Roitman <shura@gramps-project.org> 2006-10-05 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_PersonView.py (set_inactive): Check active status.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade
addresses in repositories. addresses in repositories.
* src/Config/_GrampsConfigKeys.py: Regenerate file (proper type * src/Config/_GrampsConfigKeys.py: Regenerate file (proper type

View File

@ -109,8 +109,9 @@ class PersonView(PageView.PersonNavView):
self.goto_active_person() self.goto_active_person()
def set_inactive(self): def set_inactive(self):
PageView.PersonNavView.set_inactive(self) if self.active:
self.dbstate.disconnect(self.key_active_changed) PageView.PersonNavView.set_inactive(self)
self.dbstate.disconnect(self.key_active_changed)
def define_actions(self): def define_actions(self):
""" """