This commit is contained in:
ZeldaZach 2025-01-16 23:37:00 -05:00
parent 0f59156008
commit b667f3c79d
No known key found for this signature in database
3 changed files with 5 additions and 4 deletions

View file

@ -890,7 +890,8 @@ void TabDeckEditor::updateBannerCardComboBox()
void TabDeckEditor::setBannerCard(int /* changedIndex */) void TabDeckEditor::setBannerCard(int /* changedIndex */)
{ {
QVariantMap itemData = bannerCardComboBox->itemData(bannerCardComboBox->currentIndex()).toMap(); QVariantMap itemData = bannerCardComboBox->itemData(bannerCardComboBox->currentIndex()).toMap();
deckModel->getDeckList()->setBannerCard(QPair<QString, QString>(itemData["name"].toString(), itemData["uuid"].toString())); deckModel->getDeckList()->setBannerCard(
QPair<QString, QString>(itemData["name"].toString(), itemData["uuid"].toString()));
} }
void TabDeckEditor::updateCardInfo(CardInfoPtr _card) void TabDeckEditor::updateCardInfo(CardInfoPtr _card)