Hmm. Maybe I spoke too soon.
Code:
popup_type = QToolButton.InstantPopup
gave me the icon in the context menu but it seems to have also disabled the Shortcut key setting which is working OK when I have
Code:
popup_type = QToolButton.MenuButtonPopup
... or perhaps I haven't found the magic combo yet. The genesis is as shown in post #1 and the bit before genesis() is
Code:
class ScrambleEbookUiAction(InterfaceAction):
name = PLUGIN_NAME
ttip = '%s\n(%s)' % (PLUGIN_DESCRIPTION, ','.join(OK_FORMATS))
action_spec = (PLUGIN_NAME, None, ttip, _('Ctrl+Shift+S'))
popup_type = QToolButton.InstantPopup
action_type = 'current'
dont_add_to = frozenset([])
dont_remove_from = frozenset([])
Is there an obvious error here?