3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part
svn: r17226
This commit is contained in:
parent
3a21e2e7b6
commit
4d6ebcc1d3
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user