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