diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0b1c0ddc4..21419d23c 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-10-05 Julio Sanchez + * src/plugins/ReorderIds.py: handle more cases correctly + 2005-10-04 Alex Roitman * src/plugins/PatchNames.py: Convert to new API. * src/plugins/RelCalc.py: Convert to new API. diff --git a/gramps2/src/plugins/ReorderIds.py b/gramps2/src/plugins/ReorderIds.py index 9a5b43dfc..5ddbb4655 100644 --- a/gramps2/src/plugins/ReorderIds.py +++ b/gramps2/src/plugins/ReorderIds.py @@ -155,7 +155,7 @@ class ReorderIds(Tool.Tool): elif find_from_id(newgramps_id) != None: dups.append(obj.get_handle()) else: - data.set_gramps_id(newgramps_id) + obj.set_gramps_id(newgramps_id) commit(obj,self.trans) newids[newgramps_id] = gramps_id except: