kopia lustrzana https://github.com/JOSM/MapWithAI
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
rodzic
fac63ccbf9
commit
73d67c7a0a
|
@ -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();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue