Commit a001238b authored by Fabio Bas's avatar Fabio Bas
Browse files

Force cache clear on sets database save.

parent 90655ff6
......@@ -889,6 +889,8 @@ void CardDatabase::clearPixmapCache()
}
if (noCard)
noCard->clearPixmapCache();
QPixmapCache::clear();
}
void CardDatabase::loadSetsFromXml(QXmlStreamReader &xml)
......
......@@ -123,6 +123,7 @@ WndSets::~WndSets()
void WndSets::actSave()
{
model->save(db);
db->clearPixmapCache();
QMessageBox::information(this, tr("Success"), tr("The sets database has been saved successfully."));
close();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment