Adjust another deckModel->findCard call to include number parameter.

This commit is contained in:
Lukas Brübach 2024-12-16 01:18:55 +01:00 committed by ZeldaZach
parent 938dca303c
commit f674d601ab
No known key found for this signature in database

View file

@ -119,7 +119,7 @@ void CardAmountWidget::addPrinting(const QString &zone)
}
deckModel->removeRow(find_card.row(), find_card.parent());
};
newCardIndex = deckModel->findCard(rootCard->getName(), zone, setInfoForCard.getProperty("uuid"));
newCardIndex = deckModel->findCard(rootCard->getName(), zone, setInfoForCard.getProperty("uuid"), setInfoForCard.getProperty("num"));
deckView->setCurrentIndex(newCardIndex);
deckView->setFocus(Qt::FocusReason::MouseFocusReason);
}