Add hook for AddCards.addNote

This commit is contained in:
Glutanimate 2020-01-08 21:29:28 +01:00
parent 02720ec604
commit cda296748d

View file

@ -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):