mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
commit
35563bebc2
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue