mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 13:55:03 -05:00
Fix drop issues
This commit is contained in:
parent
2c117561e3
commit
1093431c24
@ -204,7 +204,7 @@ public class ListPanel extends JComponent {
|
||||
}
|
||||
|
||||
public void createItemSequence(List<?> objects) {
|
||||
List<ListItem> items = IntStream.range(1, objects.size()).mapToObj(i -> createItem(objects.get(i), i, 0, objects.size(), objects)).collect(toList());
|
||||
List<ListItem> items = IntStream.range(0, objects.size()).mapToObj(i -> createItem(objects.get(i), i + 1, 1, objects.size(), objects)).collect(toList());
|
||||
|
||||
list.getListComponent().clearSelection();
|
||||
list.getModel().clear();
|
||||
|
Loading…
Reference in New Issue
Block a user