Add editFocusGained hook
This commit is contained in:
parent
b34404aa08
commit
822e93c1d8
@ -546,6 +546,7 @@ class Editor(object):
|
|||||||
(type, num) = str.split(":", 1)
|
(type, num) = str.split(":", 1)
|
||||||
self.enableButtons()
|
self.enableButtons()
|
||||||
self.currentField = int(num)
|
self.currentField = int(num)
|
||||||
|
runHook("editFocusGained", self.note, self.currentField)
|
||||||
# state buttons changed?
|
# state buttons changed?
|
||||||
elif str.startswith("state"):
|
elif str.startswith("state"):
|
||||||
(cmd, txt) = str.split(":", 1)
|
(cmd, txt) = str.split(":", 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user