Add editFocusGained hook

This commit is contained in:
Rob Hoelz 2013-05-21 00:19:43 +02:00
parent b34404aa08
commit 822e93c1d8

View File

@ -546,6 +546,7 @@ class Editor(object):
(type, num) = str.split(":", 1)
self.enableButtons()
self.currentField = int(num)
runHook("editFocusGained", self.note, self.currentField)
# state buttons changed?
elif str.startswith("state"):
(cmd, txt) = str.split(":", 1)