add hook for overriding state shortcuts
This commit is contained in:
parent
7ad8d761d1
commit
cfb50fa03c
@ -638,6 +638,7 @@ title="%s" %s>%s</button>''' % (
|
||||
return qshortcuts
|
||||
|
||||
def setStateShortcuts(self, shortcuts):
|
||||
runHook(self.state+"StateShortcuts", shortcuts)
|
||||
self.stateShortcuts = self.applyShortcuts(shortcuts)
|
||||
|
||||
def clearStateShortcuts(self):
|
||||
|
Loading…
Reference in New Issue
Block a user