Remove redundant call to mod_schema()

This commit is contained in:
RumovZ 2022-04-27 22:44:24 +02:00
parent 7c184cfeb9
commit c01b5002fd

View file

@ -408,9 +408,7 @@ class AnkiQt(QMainWindow):
showInfo(tr.qt_misc_automatic_syncing_and_backups_have_been()) showInfo(tr.qt_misc_automatic_syncing_and_backups_have_been())
import_collection_package_op(self, path).success( import_collection_package_op(self, path).success(
lambda _: self.onOpenProfile( lambda _: self.onOpenProfile()
callback=lambda: self.col.mod_schema(check=False)
)
).run_in_background() ).run_in_background()
def _on_downgrade(self) -> None: def _on_downgrade(self) -> None: