* src/MergeData.py: preserve most data while merging families

* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
This commit is contained in:
Julio Sánchez
2005-02-27 18:56:31 +00:00
parent 3b7952f7fc
commit 249bb2f461
4 changed files with 71 additions and 29 deletions

View File

@ -823,7 +823,10 @@ class GedcomParser:
a.set_type("Number of Children")
a.set_value(matches[2])
self.family.add_attribute(a)
elif matches[1] in ["RIN", "SUBM", "REFN","CHAN","SOUR"]:
elif matches[1] == "SOUR":
source_ref = self.handle_source(matches,2)
self.family.add_source_reference(source_ref)
elif matches[1] in ["RIN", "SUBM", "REFN","CHAN"]:
self.ignore_sub_junk(2)
elif matches[1] == "OBJE":
if matches[2] and matches[2][0] == '@':