mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Allow marked book button to be added to main toolbar when device is connected
Fixes #1239163 [Mark Books cannot be added to "The main menu when a device is connected"](https://bugs.launchpad.net/calibre/+bug/1239163)
This commit is contained in:
parent
00e0901249
commit
12e83a09b0
@ -20,7 +20,7 @@ class MarkBooksAction(InterfaceAction):
|
|||||||
action_type = 'current'
|
action_type = 'current'
|
||||||
action_add_menu = True
|
action_add_menu = True
|
||||||
dont_add_to = frozenset([
|
dont_add_to = frozenset([
|
||||||
'toolbar-device', 'context-menu-device', 'menubar-device', 'context-menu-cover-browser'])
|
'context-menu-device', 'menubar-device', 'context-menu-cover-browser'])
|
||||||
action_menu_clone_qaction = _('Toggle mark for selected books')
|
action_menu_clone_qaction = _('Toggle mark for selected books')
|
||||||
|
|
||||||
accepts_drops = True
|
accepts_drops = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user