Fixed forward referencing a note if FTW import

svn: r979
This commit is contained in:
Don Allingham 2002-05-09 01:47:27 +00:00
parent ab6933478d
commit 358f09ca08

View File

@ -592,6 +592,9 @@ class ObjectRef:
"""Return in note instance, not just the text"""
return self.note
def unique_note(self):
self.note = Note(self.note.get())
def addAttribute(self,attr):
"""Adds a propery to the Photo object. This is not used by gramps,
but provides a means for XML users to attach other properties to
@ -1389,6 +1392,9 @@ class Family:
"""returns the Note instance attached to the Family"""
return self.note
def unique_note(self):
self.note = Note(self.note.get())
def setNoteObj(self,obj):
"""sets the Note instance attached to the Family"""
self.note = obj
@ -1567,6 +1573,9 @@ class Source:
"""returns the Note instance attached to the Source"""
return self.note
def unique_note(self):
self.note = Note(self.note.get())
def setAuthor(self,author):
"""sets the author of the Source"""
self.author = author