FIXUP: a958a8f0 had two sorted in a row.

The intent of the first sorted was to reverse the order, which the
second sorted undid.

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-06-04 14:09:25 -06:00
rodzic fac63ccbf9
commit 73d67c7a0a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -734,7 +734,7 @@ public class MapWithAIProvidersPanel extends JPanel {
});
} else {
selected.stream().mapToInt(activeModel::getRowIndex).filter(i -> i >= 0).boxed()
.sorted(Collections.reverseOrder()).sorted().forEach(activeModel::removeRow);
.sorted(Collections.reverseOrder()).forEach(activeModel::removeRow);
}
updateEnabledState();
}