* 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 e5c8ffd8ae
commit d2403dcc1f
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
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
addresses in repositories.
* src/Config/_GrampsConfigKeys.py: Regenerate file (proper type

View File

@ -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):
"""