mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix related cards popup (#3613)
This commit is contained in:
parent
440311c939
commit
55c4207182
2 changed files with 9 additions and 2 deletions
|
|
@ -3065,7 +3065,7 @@ void Player::addRelatedCardView(const CardItem *card, QMenu *cardMenu)
|
|||
return;
|
||||
}
|
||||
|
||||
QList<CardRelation *> relatedCards = cardInfo->getRelatedCards();
|
||||
QList<CardRelation *> relatedCards = cardInfo->getAllRelatedCards();
|
||||
if (relatedCards.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -3092,7 +3092,7 @@ void Player::addRelatedCardActions(const CardItem *card, QMenu *cardMenu)
|
|||
return;
|
||||
}
|
||||
|
||||
QList<CardRelation *> relatedCards = cardInfo->getRelatedCards();
|
||||
QList<CardRelation *> relatedCards = cardInfo->getAllRelatedCards();
|
||||
if (relatedCards.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue