fix copying deck to clipboard

This commit is contained in:
Anthony Calosa
2023-01-02 15:55:31 +08:00
parent 616c234574
commit 944933fd12
3 changed files with 5 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ public class FDeckViewer extends FDialog {
sectionCards = new TreeMap<>();
deckList.append(nl);
for (final Entry<PaperCard, Integer> ev : cp) {
cardName = ev.getKey().toString();
cardName = ev.getKey().getCardName();
if (sectionCards.containsKey(cardName)) {
sectionCards.put(cardName, (int)sectionCards.get(cardName) + ev.getValue());
}