mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Don't register the empty string as a shortcut in template tester. Instead register the empty tuple.
This commit is contained in:
parent
5d18e41d79
commit
7fd45817d8
@ -13,7 +13,7 @@ from calibre.gui2 import error_dialog
|
||||
class ShowTemplateTesterAction(InterfaceAction):
|
||||
|
||||
name = 'Template tester'
|
||||
action_spec = (_('Template tester'), 'debug.png', None, '')
|
||||
action_spec = (_('Template tester'), 'debug.png', None, ())
|
||||
dont_add_to = frozenset(['context-menu-device'])
|
||||
action_type = 'current'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user