mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
need to invalidate notetype cache on sync completion
basicCheck() was populating it on startup sync, leading to https://forums.ankiweb.net/t/error-when-adding-a-new-note/1664
This commit is contained in:
parent
41544c57d5
commit
290efb9e92
1 changed files with 1 additions and 0 deletions
|
@ -907,6 +907,7 @@ title="%s" %s>%s</button>""" % (
|
|||
|
||||
def on_collection_sync_finished():
|
||||
self.col.clearUndo()
|
||||
self.col.models._clear_cache()
|
||||
self.reset()
|
||||
after_sync()
|
||||
|
||||
|
|
Loading…
Reference in a new issue