Fix #2034055 [[Enhancement] E-book viewer: Alt+f should toggle the "Fit image" checkbox](https://bugs.launchpad.net/calibre/+bug/2034055)

This commit is contained in:
Kovid Goyal 2023-09-04 21:48:17 +05:30
parent fa0073ea45
commit 78dc836b9a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -149,7 +149,7 @@ class ImageView(QDialog):
self.save_button = so = bb.addButton(_('&Save as'), QDialogButtonBox.ButtonRole.ActionRole)
self.copy_button = co = bb.addButton(_('&Copy'), QDialogButtonBox.ButtonRole.ActionRole)
self.rotate_button = ro = bb.addButton(_('&Rotate'), QDialogButtonBox.ButtonRole.ActionRole)
self.fullscreen_button = fo = bb.addButton(_('&Full screen'), QDialogButtonBox.ButtonRole.ActionRole)
self.fullscreen_button = fo = bb.addButton(_('F&ull screen'), QDialogButtonBox.ButtonRole.ActionRole)
zi.setIcon(QIcon.ic('plus.png'))
zo.setIcon(QIcon.ic('minus.png'))
so.setIcon(QIcon.ic('save.png'))