mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Keyboard shortcut for printing in viewer
This commit is contained in:
parent
5e04c1f9f8
commit
c73e1ff90f
@ -92,4 +92,7 @@ SHORTCUTS = {
|
||||
|
||||
'Reload': (['Ctrl+R', 'F5'],
|
||||
_('Reload the current book')),
|
||||
|
||||
'Print': (['Ctrl+P'],
|
||||
_('Print the current book')),
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user