From 358f09ca0853345f8418fcb17687ff62ce0103aa Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 9 May 2002 01:47:27 +0000 Subject: [PATCH] Fixed forward referencing a note if FTW import svn: r979 --- gramps/src/RelLib.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gramps/src/RelLib.py b/gramps/src/RelLib.py index b0fb7baa5..d0e23c159 100644 --- a/gramps/src/RelLib.py +++ b/gramps/src/RelLib.py @@ -591,6 +591,9 @@ class ObjectRef: def getNoteObj(self): """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, @@ -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