Fixed forward referencing a note if FTW import
svn: r979
This commit is contained in:
parent
ab6933478d
commit
358f09ca08
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user