mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 17:02:15 -07:00
Adjust another deckModel->findCard call to include number parameter.
This commit is contained in:
parent
938dca303c
commit
f674d601ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue