mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Reload card database action now also reloads the download urls (#5262)
* add sync method to SettingsManager * sync download urls on reload card database
This commit is contained in:
parent
03db4ccce6
commit
e8e57989ba
3 changed files with 13 additions and 1 deletions
|
|
@ -1332,7 +1332,10 @@ int MainWindow::getNextCustomSetPrefix(QDir dataDir)
|
|||
|
||||
void MainWindow::actReloadCardDatabase()
|
||||
{
|
||||
const auto reloadOk1 = QtConcurrent::run([] { CardDatabaseManager::getInstance()->loadCardDatabases(); });
|
||||
const auto reloadOk1 = QtConcurrent::run([] {
|
||||
CardDatabaseManager::getInstance()->loadCardDatabases();
|
||||
SettingsCache::instance().downloads().sync();
|
||||
});
|
||||
}
|
||||
|
||||
void MainWindow::actManageSets()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue