mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
Start counting at 1
This commit is contained in:
parent
41e445543a
commit
6b7768417b
@ -203,7 +203,7 @@ public class ListPanel extends JComponent {
|
||||
}
|
||||
|
||||
public void createItemSequence(List<?> objects) {
|
||||
List<ListItem> items = IntStream.range(0, objects.size()).mapToObj(i -> createItem(objects.get(i), i, 0, objects.size(), objects)).collect(toList());
|
||||
List<ListItem> items = IntStream.range(1, objects.size()).mapToObj(i -> createItem(objects.get(i), i, 0, objects.size(), objects)).collect(toList());
|
||||
|
||||
list.getListComponent().clearSelection();
|
||||
list.getModel().clear();
|
||||
|
Loading…
Reference in New Issue
Block a user