fix redo menu item showing undo text

This commit is contained in:
Damien Elmes 2021-08-04 10:28:45 +10:00
parent 6a9b4cd0f1
commit fc931c3edb

View File

@ -29,7 +29,7 @@ class UndoActionsInfo:
undo_text=tr.undo_undo_action(val=status.undo)
if status.undo
else tr.undo_undo(),
redo_text=tr.undo_redo_action(action=status.undo)
redo_text=tr.undo_redo_action(action=status.redo)
if status.redo
else tr.undo_redo(),
show_redo=status.last_step > 0,