From b6471586d4fb7f7a23c1eaffa0d6dc306368000a Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Sat, 23 Apr 2011 14:17:53 +0000 Subject: [PATCH] 3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part svn: r17225 --- src/gen/db/undoredo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)