2019-08-03, 11:27
I want to hijack an action for two ID's, but without "disabling" the others.
Maybe I'm blind but how do I execute an action ID in Python?
Example:
Maybe I'm blind but how do I execute an action ID in Python?
Example:
Code:
def onAction(self, action):
if action.getId() in [92,10]:
self.action['call'] = 'quit'
if action.getId() == [92]:
self.action['id'] = ''
self.quit()
else:
*** let do other IDs do there default behaviour ***