Merge pull request #30 from hoelzro/master

Add editFocusGained hook
This commit is contained in:
Damien Elmes 2013-05-20 18:14:15 -07:00
commit 35563bebc2

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)