mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Clear notetypes cache on import
This commit is contained in:
parent
51b5086b01
commit
6c48ba7f8f
1 changed files with 1 additions and 0 deletions
|
|
@ -522,6 +522,7 @@ def import_done() -> bytes:
|
|||
window.setWindowModality(Qt.WindowModality.NonModal)
|
||||
window.show()
|
||||
|
||||
aqt.mw.col.models._clear_cache()
|
||||
aqt.mw.taskman.run_on_main(update_window_modality)
|
||||
return b""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue