mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
Minor fix to sorted list reconstruction to fix duplication of cards in printing selector. (#5468)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
cca82f59eb
commit
8462b6e906
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