diff --git a/src/gen/db/undoredo.py b/src/gen/db/undoredo.py index 68ba6a711..f39fdf54d 100644 --- a/src/gen/db/undoredo.py +++ b/src/gen/db/undoredo.py @@ -235,7 +235,7 @@ class DbUndo(object): if db.undo_callback: if self.undo_count > 0: db.undo_callback(_("_Undo %s") - % transaction.get_description()) + % self.undoq[-1].get_description()) else: db.undo_callback(None)