mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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 (const auto &cardInfoPerSet : it.value()) {
|
||||
if (cardInfoPerSet.getPtr() == set) {
|
||||
sortedCardInfoPerSets << it.value();
|
||||
sortedCardInfoPerSets << cardInfoPerSet;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue