mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add the keyboard shortcut: Ctrl+Shift+R to restart calibre in debug mode
This commit is contained in:
parent
4c5a6213d9
commit
bba6e03a11
@ -25,8 +25,11 @@ class PreferencesAction(InterfaceAction):
|
|||||||
self.gui.run_wizard)
|
self.gui.run_wizard)
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
pm.addSeparator()
|
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)
|
self.debug_restart)
|
||||||
|
ac.setShortcut('Ctrl+Shift+R')
|
||||||
|
self.gui.addAction(ac)
|
||||||
|
|
||||||
self.qaction.setMenu(pm)
|
self.qaction.setMenu(pm)
|
||||||
self.preferences_menu = pm
|
self.preferences_menu = pm
|
||||||
for x in (self.gui.preferences_action, self.qaction):
|
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
|
- Download metadata and shortcuts
|
||||||
* - :kbd:`Ctrl+R`
|
* - :kbd:`Ctrl+R`
|
||||||
- Restart calibre
|
- Restart calibre
|
||||||
|
* - :kbd:`Ctrl+Shift+R`
|
||||||
|
- Restart calibre in debug mode
|
||||||
* - :kbd:`Shift+Ctrl+E`
|
* - :kbd:`Shift+Ctrl+E`
|
||||||
- Add empty books to calibre
|
- Add empty books to calibre
|
||||||
* - :kbd:`Ctrl+Q`
|
* - :kbd:`Ctrl+Q`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user