Support flavorName property and cache altNames

This commit is contained in:
RickyRister 2025-11-16 19:06:41 -08:00
parent a405758222
commit 259d24f47d
5 changed files with 64 additions and 9 deletions

View file

@ -194,8 +194,9 @@ void CardDatabase::markAllSetsAsKnown()
void CardDatabase::notifyEnabledSetsChanged()
{
// refresh the list of cached set names
for (const CardInfoPtr &card : cards)
card->refreshCachedSetNames();
for (const CardInfoPtr &card : cards) {
card->refreshCachedSets();
}
// inform the carddatabasemodels that they need to re-check their list of cards
emit cardDatabaseEnabledSetsChanged();