5266: Christening dates displayed as Birth dates in Family editor
svn: r18349
This commit is contained in:
parent
6ab9ac059d
commit
fd04480052
@ -941,15 +941,13 @@ class EditFamily(EditPrimary):
|
|||||||
if birth:
|
if birth:
|
||||||
#if event changes it view needs to update
|
#if event changes it view needs to update
|
||||||
self.callman.register_handles({'event': [birth.get_handle()]})
|
self.callman.register_handles({'event': [birth.get_handle()]})
|
||||||
if birth and birth.get_type() == gen.lib.EventType.BAPTISM:
|
birth_label.set_label("%s:" % birth.get_type())
|
||||||
birth_label.set_label(_("Baptism:"))
|
|
||||||
|
|
||||||
death = get_death_or_fallback(db, person)
|
death = get_death_or_fallback(db, person)
|
||||||
if death:
|
if death:
|
||||||
#if event changes it view needs to update
|
#if event changes it view needs to update
|
||||||
self.callman.register_handles({'event': [death.get_handle()]})
|
self.callman.register_handles({'event': [death.get_handle()]})
|
||||||
if death and death.get_type() == gen.lib.EventType.BURIAL:
|
death_label.set_label("%s:" % death.get_type())
|
||||||
death_label.set_label(_("Burial:"))
|
|
||||||
|
|
||||||
btn_edit.set_tooltip_text(_('Edit %s') % name)
|
btn_edit.set_tooltip_text(_('Edit %s') % name)
|
||||||
btn_index.hide()
|
btn_index.hide()
|
||||||
|
Loading…
Reference in New Issue
Block a user