mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
Crash fix
This commit is contained in:
parent
c6f1253476
commit
2a7befaa9d
1 changed files with 4 additions and 0 deletions
|
|
@ -170,6 +170,10 @@ CardInfoPerSet PrintingSelector::getSetForUUID(const QString &uuid)
|
|||
|
||||
QList<CardInfoPerSet> PrintingSelector::prependPrintingsInDeck(const QList<CardInfoPerSet> &sets)
|
||||
{
|
||||
if (!selectedCard) {
|
||||
return {};
|
||||
}
|
||||
|
||||
CardInfoPerSetMap cardInfoPerSets = selectedCard->getSets();
|
||||
QList<QPair<CardInfoPerSet, int>> countList;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue