Merge pull request #24 from flerda/hook

Remove the right hook.
This commit is contained in:
Damien Elmes 2013-04-10 01:59:28 -07:00
commit 6b3ab0f82b

View File

@ -1131,7 +1131,7 @@ update cards set usn=?, mod=?, did=? where id in """ + scids,
def teardownHooks(self):
remHook("reset", self.onReset)
remHook("editTimer", self.refreshCurrentCard)
remHook("editFocusLost", self.refreshCurrentCard)
remHook("editFocusLost", self.refreshCurrentCardFilter)
remHook("undoState", self.onUndoState)
for t in "newTag", "newModel", "newDeck":
remHook(t, self.buildTree)