* src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered. * src/FamilyView.py: Add popup menu for childlist to allow the enabling of the new child relationship editor dialog * src/SelectChild.py: Child relationship editor * src/RelLib.py: Allow for altering of relationships of the AltFamilyList svn: r1756
This commit is contained in:
1 parent
3e0cdc7ab8
commit
a381263a01
3 files changed
+112
-6
No files matched your search
@@ -1256,6 +1256,15 @@ class Person(Persistent):
|
||||
else:
|
||||
return None
|
||||
|
||||
def changeAltFamily(self,family,mrel,frel):
|
||||
"""removes a Family instance from the alternate family list"""
|
||||
index = 0
|
||||
for f in self.AltFamilyList[:]:
|
||||
if f[0] == family:
|
||||
self.AltFamilyList[index] = (family,mrel,frel)
|
||||
self._p_changed = 1
|
||||
index += 1
|
||||
|
||||
def has_family(self,family):
|
||||
for f in self.AltFamilyList:
|
||||
if f[0] == family:
|
||||
|
||||
Reference in new issue
Block a user