fix: save metacache after clearing

If the user closes the launcher right after clearing, it probably
didn't actually clear the cache yet.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-11-06 01:05:10 +01:00
parent 5e9b26dbef
commit d5d224d89a
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -1899,6 +1899,7 @@ void MainWindow::on_actionReportBug_triggered()
void MainWindow::on_actionClearMetadata_triggered()
{
APPLICATION->metacache()->evictAll();
APPLICATION->metacache()->SaveNow();
}
void MainWindow::on_actionOpenWiki_triggered()