mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:33:12 +02:00
Add the keyboard shortcut: Ctrl+Shift+R to restart calibre in debug mode
This commit is contained in:
parent
4c5a6213d9
commit
bba6e03a11
2 changed files with 6 additions and 1 deletions
|
|
@ -25,8 +25,11 @@ def genesis(self):
|
|||
self.gui.run_wizard)
|
||||
if not DEBUG:
|
||||
pm.addSeparator()
|
||||
pm.addAction(QIcon(I('debug.png')), _('Restart in debug mode'),
|
||||
ac = pm.addAction(QIcon(I('debug.png')), _('Restart in debug mode'),
|
||||
self.debug_restart)
|
||||
ac.setShortcut('Ctrl+Shift+R')
|
||||
self.gui.addAction(ac)
|
||||
|
||||
self.qaction.setMenu(pm)
|
||||
self.preferences_menu = pm
|
||||
for x in (self.gui.preferences_action, self.qaction):
|
||||
|
|
|
|||
|
|
@ -549,6 +549,8 @@ Calibre has several keyboard shortcuts to save you time and mouse movement. Thes
|
|||
- Download metadata and shortcuts
|
||||
* - :kbd:`Ctrl+R`
|
||||
- Restart calibre
|
||||
* - :kbd:`Ctrl+Shift+R`
|
||||
- Restart calibre in debug mode
|
||||
* - :kbd:`Shift+Ctrl+E`
|
||||
- Add empty books to calibre
|
||||
* - :kbd:`Ctrl+Q`
|
||||
|
|
|
|||
Loading…
Reference in a new issue