svn: r5734
This commit is contained in:
Alex Roitman 2006-01-13 01:01:19 +00:00
parent 57cc5d93c8
commit d539eb8e68

View File

@ -1092,7 +1092,7 @@ class GrampsDbBase(GrampsDBCallback):
self.translist[self.undoindex] = transaction self.translist[self.undoindex] = transaction
# Real commit erases all subsequent transactions # Real commit erases all subsequent transactions
# to there's no Redo anymore. # 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 self.translist[index] = None
person_add = self._do_commit(transaction.person_add, person_add = self._do_commit(transaction.person_add,
@ -1141,7 +1141,7 @@ class GrampsDbBase(GrampsDBCallback):
if self.undo_callback: if self.undo_callback:
self.undo_callback(_("_Undo %s") % transaction.get_description()) self.undo_callback(_("_Undo %s") % transaction.get_description())
if self.redu_callback: if self.redo_callback:
self.redo_callback(None) self.redo_callback(None)
def _do_emit(self, objtype, add_list, upd_list, del_list): def _do_emit(self, objtype, add_list, upd_list, del_list):