Minor fix to sorted list reconstruction to fix duplication of cards in printing selector.

This commit is contained in:
Lukas Brübach 2025-01-14 14:46:05 +01:00
parent 686645c1e4
commit 77f623a654

View file

@ -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;
}
}