mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
Add hook for AddCards.addNote
This commit is contained in:
parent
02720ec604
commit
cda296748d
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ question on all cards."""
|
||||||
self.addHistory(note)
|
self.addHistory(note)
|
||||||
self.mw.requireReset()
|
self.mw.requireReset()
|
||||||
self.previousNote = note
|
self.previousNote = note
|
||||||
|
runHook("AddCards.noteAdded", note)
|
||||||
return note
|
return note
|
||||||
|
|
||||||
def addCards(self):
|
def addCards(self):
|
||||||
|
|
Loading…
Reference in a new issue