2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading * src/GrampsDb/_DbUtils.py: add birth/death index set funcion * src/Editors/_EditPerson.py: birth/death index fixes * src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes * src/GrampsWidgets.py: shading fixes * src/DisplayModels/_PeopleModel.py: birth/death index fixes svn: r6764
This commit is contained in:
@@ -62,6 +62,8 @@ import RelLib
|
||||
import GrampsWidgets
|
||||
import Config
|
||||
|
||||
from GrampsDb import set_birth_death_index
|
||||
|
||||
from _EditPrimary import EditPrimary
|
||||
from QuestionDialog import *
|
||||
from DisplayTabs import \
|
||||
@@ -537,11 +539,7 @@ class EditPerson(EditPrimary):
|
||||
if self._check_for_unknown_gender():
|
||||
return
|
||||
|
||||
(birth_ref, death_ref, event_list) = self.event_list.return_info()
|
||||
self.obj.set_birth_ref(birth_ref)
|
||||
self.obj.set_death_ref(death_ref)
|
||||
self.obj.set_event_ref_list(event_list)
|
||||
|
||||
set_birth_death_index(self.db, self.obj)
|
||||
self.window.hide()
|
||||
|
||||
trans = self.db.transaction_begin()
|
||||
|
||||
Reference in New Issue
Block a user