privacy flag and comment to the privacy flag and note of the new

EventRef for old witness_by_ID references.


svn: r5608
This commit is contained in:
Alex Roitman
2005-12-21 20:15:45 +00:00
parent 611cdd48da
commit 73c8bdd045
2 changed files with 4 additions and 2 deletions

View File

@@ -1220,7 +1220,8 @@ class GrampsBSDDB(GrampsDbBase):
event_ref = EventRef()
event_ref.ref = event.handle
event_ref.role = (EventRef.WITNESS,'')
# Add comment
# Add privacy and comment
event_ref.private = witness.private
if witness.comment:
event_ref.set_note(witness.comment)
person = self.get_person_from_handle(witness.val)