Wasn't there this weird issue where you had to put everything into the
edit menu as well if you want the hotkey to work?
Try that and see if it works.
On 10/07/2016 05:46 PM, Joerg Bruemmer wrote:
Hey guys,
what am I doing wrong here:
from hiero.core import findMenuAction
from PySide import QtGui
menuItem = findMenuAction('my menu')
menuItem.setShortcut(QtGui.QKeySequence('Alt+G'))
I have that in my StartupUi folder as .py, but it does not get picked
up. Running it in script editor in UI works though.
Thanks,
Joerg
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python