mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Move sync_did_finish before reset
This commit is contained in:
parent
0c7caa1644
commit
f147e90146
1 changed files with 1 additions and 1 deletions
|
@ -908,8 +908,8 @@ title="%s" %s>%s</button>""" % (
|
||||||
def on_collection_sync_finished():
|
def on_collection_sync_finished():
|
||||||
self.col.clearUndo()
|
self.col.clearUndo()
|
||||||
self.col.models._clear_cache()
|
self.col.models._clear_cache()
|
||||||
self.reset()
|
|
||||||
gui_hooks.sync_did_finish()
|
gui_hooks.sync_did_finish()
|
||||||
|
self.reset()
|
||||||
|
|
||||||
after_sync()
|
after_sync()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue