mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-01 20:54:21 +01:00
...
This commit is contained in:
parent
3c70554910
commit
4a79e4a7b1
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ def do_global_redo(self):
|
|||
|
||||
def update_global_history_actions(self):
|
||||
gu = self.global_undo
|
||||
for x, text in (('undo', _('&Revert to')), ('redo', '&Revert to')):
|
||||
for x, text in (('undo', _('&Revert to')), ('redo', _('&Revert to'))):
|
||||
ac = getattr(self.gui, 'action_global_%s' % x)
|
||||
ac.setEnabled(getattr(gu, 'can_' + x))
|
||||
ac.setText(text + ' "%s"'%(getattr(gu, x + '_msg') or '...'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue