This commit is contained in:
Kovid Goyal 2014-03-30 21:37:00 +05:30
parent 3c70554910
commit 4a79e4a7b1

View File

@ -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 '...'))