2007-07-17 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Only create a note if source text was non-empty. svn: r8727
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2007-07-17 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Only create a
|
||||
note if source text was non-empty.
|
||||
|
||||
2007-07-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||
* src/Spell.py:
|
||||
* src/Editors/_EditNote.py:
|
||||
|
@ -2072,6 +2072,7 @@ class GrampsBSDDB(GrampsDbBase, UpdateCallback):
|
||||
nttype=NoteType.SOURCEREF,
|
||||
private=priv)
|
||||
# Also we lose the text field and make it a note
|
||||
if text.strip():
|
||||
handle = str(self.create_id())
|
||||
gramps_id = self.find_next_note_gramps_id()
|
||||
note_tuple = (handle, gramps_id, text, Note.FLOWED,
|
||||
|
Reference in New Issue
Block a user