diff --git a/src/gen/db/undoredo.py b/src/gen/db/undoredo.py index 0ad14da0d..6674a6b1f 100644 --- a/src/gen/db/undoredo.py +++ b/src/gen/db/undoredo.py @@ -248,7 +248,7 @@ class DbUndo(object): if db.undo_callback: if self.undo_available(): db.undo_callback(_("_Undo %s") - % transaction.get_description()) + % self.translist[self.undoindex].get_description()) else: db.undo_callback(None)