mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #418 from glutanimate/addcards-addnote-hook
Add hook for AddCards.addNote
This commit is contained in:
commit
9704346ecf
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