Don't automagically create marriage/divorce entries
svn: r193
This commit is contained in:
parent
f64eee94ed
commit
e8e94576c0
@ -655,18 +655,12 @@ class Family:
|
||||
self.Marriage = event
|
||||
|
||||
def getMarriage(self):
|
||||
if self.Marriage == None:
|
||||
self.Marriage = Event()
|
||||
self.Marriage.name = "Marriage"
|
||||
return self.Marriage
|
||||
|
||||
def setDivorce(self,event):
|
||||
self.Divorce = event
|
||||
|
||||
def getDivorce(self):
|
||||
if self.Divorce == None:
|
||||
self.Divorce = Event()
|
||||
self.Divorce.name = "Marriage"
|
||||
return self.Divorce
|
||||
|
||||
def addEvent(self,event) :
|
||||
|
Loading…
Reference in New Issue
Block a user