mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
Minor fix to sorted list reconstruction to fix duplication of cards in printing selector.
This commit is contained in:
parent
686645c1e4
commit
77f623a654
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ QList<CardInfoPerSet> PrintingSelectorCardSortingWidget::sortSets(const CardInfo
|
||||||
for (auto it = cardInfoPerSets.begin(); it != cardInfoPerSets.end(); ++it) {
|
for (auto it = cardInfoPerSets.begin(); it != cardInfoPerSets.end(); ++it) {
|
||||||
for (const auto &cardInfoPerSet : it.value()) {
|
for (const auto &cardInfoPerSet : it.value()) {
|
||||||
if (cardInfoPerSet.getPtr() == set) {
|
if (cardInfoPerSet.getPtr() == set) {
|
||||||
sortedCardInfoPerSets << it.value();
|
sortedCardInfoPerSets << cardInfoPerSet;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue