mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3c70554910
commit
4a79e4a7b1
@ -509,7 +509,7 @@ class Boss(QObject):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user