mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 23:12:14 -07:00
Guess sanitized card name so that tags can have banner cards too.
This commit is contained in:
parent
43b0465518
commit
075c10b73f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ EdhrecCommanderApiResponseCardDetailsDisplayWidget::EdhrecCommanderApiResponseCa
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
|
|
||||||
cardPictureWidget = new CardInfoPictureWidget(this);
|
cardPictureWidget = new CardInfoPictureWidget(this);
|
||||||
cardPictureWidget->setCard(CardDatabaseManager::getInstance()->getCard(toDisplay.name));
|
cardPictureWidget->setCard(CardDatabaseManager::getInstance()->guessCard(toDisplay.sanitized));
|
||||||
|
|
||||||
label = new QLabel(this);
|
label = new QLabel(this);
|
||||||
label->setText(toDisplay.name + "\n" + toDisplay.label);
|
label->setText(toDisplay.name + "\n" + toDisplay.label);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue