diff --git a/src/calibre/gui2/widgets.py b/src/calibre/gui2/widgets.py index 1345bd735c..f33c121d5a 100644 --- a/src/calibre/gui2/widgets.py +++ b/src/calibre/gui2/widgets.py @@ -974,6 +974,7 @@ class LayoutButton(QToolButton): if sc: sc = sc.toString(sc.NativeText) self.shortcut = sc or '' + self.update_text() def update_text(self): t = _('Hide {}') if self.isChecked() else _('Show {}')