Fix card database load after update (#3748)

This commit is contained in:
ctrlaltca 2019-06-08 14:48:34 +02:00 committed by GitHub
parent 36ba9c2d94
commit c0c4a6df50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -857,6 +857,8 @@ void MainWindow::startupConfigCheck()
<< "differs, assuming first start after update"; << "differs, assuming first start after update";
if (settingsCache->getNotifyAboutNewVersion()) { if (settingsCache->getNotifyAboutNewVersion()) {
alertForcedOracleRun(VERSION_STRING, true); alertForcedOracleRun(VERSION_STRING, true);
} else {
QtConcurrent::run(db, &CardDatabase::loadCardDatabases);
} }
} else { } else {
// previous config from this version found // previous config from this version found