3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part

svn: r17225
This commit is contained in:
Michiel Nauta 2011-04-23 14:17:53 +00:00
parent 0e40cc3fee
commit b6471586d4

View File

@ -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)