LDS visible tab working better
svn: r1036
This commit is contained in:
parent
e7b3d58d7b
commit
6267a70ccd
@ -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()
|
||||
|
@ -361,9 +361,9 @@ class XmlWriter:
|
||||
sp = " " * index
|
||||
self.g.write('%s<event type="%s"%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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user