2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set GRAMPS ID on new source (bug #1014246). svn: r3481
This commit is contained in:
@ -350,6 +350,7 @@ class GrampsDbBase:
|
||||
source.unserialize(self.source_map.get(str(val)))
|
||||
else:
|
||||
source.set_handle(val)
|
||||
source.set_gramps_id(val)
|
||||
if transaction != None:
|
||||
transaction.add(SOURCE_KEY,val,None)
|
||||
self.source_map[str(val)] = source.serialize()
|
||||
|
Reference in New Issue
Block a user