diff --git a/src/calibre/gui2/viewer/keys.py b/src/calibre/gui2/viewer/keys.py index 1a83e9f37d..6c0744b6a8 100644 --- a/src/calibre/gui2/viewer/keys.py +++ b/src/calibre/gui2/viewer/keys.py @@ -92,4 +92,7 @@ SHORTCUTS = { 'Reload': (['Ctrl+R', 'F5'], _('Reload the current book')), + + 'Print': (['Ctrl+P'], + _('Print the current book')), } diff --git a/src/calibre/gui2/viewer/main.py b/src/calibre/gui2/viewer/main.py index bde277553a..9098453101 100644 --- a/src/calibre/gui2/viewer/main.py +++ b/src/calibre/gui2/viewer/main.py @@ -962,6 +962,7 @@ class EbookViewer(MainWindow): 'Bookmark': bac, 'Reload': self.action_reload, 'Table of Contents': self.action_table_of_contents, + 'Print': self.action_print, }.get(key, None) if action is not None: event.accept()