diff --git a/gramps/src/EditPerson.py b/gramps/src/EditPerson.py index 8b76cbff0..61ef57868 100644 --- a/gramps/src/EditPerson.py +++ b/gramps/src/EditPerson.py @@ -283,11 +283,10 @@ class EditPerson: self.lds_baptism = self.person.getLdsBaptism() self.lds_endowment = self.person.getLdsEndowment() self.lds_sealing = self.person.getLdsSeal() - - if GrampsCfg.uselds: - if self.lds_baptism or self.lds_endowment or self.lds_sealing: - self.get_widget("lds_tab").show() - self.get_widget("lds_page").show() + + if GrampsCfg.uselds or self.lds_baptism or self.lds_endowment or self.lds_sealing: + self.get_widget("lds_tab").show() + self.get_widget("lds_page").show() types = const.NameTypesMap.keys() types.sort() diff --git a/gramps/src/WriteXML.py b/gramps/src/WriteXML.py index acf55e6aa..cf843e806 100644 --- a/gramps/src/WriteXML.py +++ b/gramps/src/WriteXML.py @@ -361,9 +361,9 @@ class XmlWriter: sp = " " * index self.g.write('%s\n' % (sp,self.fix(name),conf_priv(event))) self.write_date(event.getDateObj(),index+1) - self.write_ref("place",place,index+1) + self.write_ref("place",event.getPlace(),index+1) self.write_line("cause",event.getCause(),index+1) - self.write_line("description",description,index+1) + self.write_line("description",event.getDescription(),index+1) if event.getNote(): self.write_note("note",event.getNote(),index+1)