View Single Post
Old 11-19-2012, 02:10 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,915
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It will only work if the qaction is the "shortcut_action". IIRC, by default, the qaction is not the shortcut_action, it is self.menuless_qaction, disabling that in addition to self.qaction should disable the keyboard shortcut. see the create_action() method in actions/__init__.py for details.
kovidgoyal is online now   Reply With Quote