mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Add hook for AddCards.addNote
This commit is contained in:
parent
0c6dd8cb14
commit
4be8351d2c
1 changed files with 1 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ question on all cards."""
|
|||
self.addHistory(note)
|
||||
self.mw.requireReset()
|
||||
self.previousNote = note
|
||||
runHook("AddCards.noteAdded", note)
|
||||
return note
|
||||
|
||||
def addCards(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue