From d539eb8e6812b72db8af2070ac64f3887c57e14f Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 13 Jan 2006 01:01:19 +0000 Subject: [PATCH] Update svn: r5734 --- gramps2/src/GrampsDb/_GrampsDbBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps2/src/GrampsDb/_GrampsDbBase.py b/gramps2/src/GrampsDb/_GrampsDbBase.py index 1a1b81412..c67c341ec 100644 --- a/gramps2/src/GrampsDb/_GrampsDbBase.py +++ b/gramps2/src/GrampsDb/_GrampsDbBase.py @@ -1092,7 +1092,7 @@ class GrampsDbBase(GrampsDBCallback): self.translist[self.undoindex] = transaction # Real commit erases all subsequent transactions # to there's no Redo anymore. - for index in range(self.undoindex,_UNDO_SIZE): + for index in range(self.undoindex+1,_UNDO_SIZE): self.translist[index] = None person_add = self._do_commit(transaction.person_add, @@ -1141,7 +1141,7 @@ class GrampsDbBase(GrampsDBCallback): if self.undo_callback: self.undo_callback(_("_Undo %s") % transaction.get_description()) - if self.redu_callback: + if self.redo_callback: self.redo_callback(None) def _do_emit(self, objtype, add_list, upd_list, del_list):