From 33daf99b33398fa53ac3d25e6c55ee64813bc7ae Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Sat, 23 Apr 2011 14:19:04 +0000 Subject: [PATCH] 3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part svn: r17227 --- 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 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)