Extend the decklist parsing from clipboard to also support SetName, CollectorNumber and Foil Status.

This commit is contained in:
Lukas Brübach 2024-12-23 09:30:58 +01:00
parent cc16b8779c
commit 38c5cb1259
11 changed files with 147 additions and 39 deletions

View file

@ -65,6 +65,7 @@ void DlgLoadDeckFromClipboard::actOK()
}
} else if (deckLoader->loadFromStream_Plain(stream)) {
deckList = deckLoader;
deckList->resolveSetNameAndNumberToProviderID();
accept();
} else {
QMessageBox::critical(this, tr("Error"), tr("Invalid deck list."));