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

svn: r17226
This commit is contained in:
Michiel Nauta 2011-04-23 14:18:31 +00:00
parent 3a21e2e7b6
commit 4d6ebcc1d3

View File

@ -235,7 +235,7 @@ class DbUndo(object):
if db.undo_callback: if db.undo_callback:
if self.undo_count > 0: if self.undo_count > 0:
db.undo_callback(_("_Undo %s") db.undo_callback(_("_Undo %s")
% transaction.get_description()) % self.undoq[-1].get_description())
else: else:
db.undo_callback(None) db.undo_callback(None)