fix: exception when selecting individual games to export
This commit is contained in:
parent
67e93100e6
commit
fc99e08ae6
2
pom.xml
2
pom.xml
|
@ -2,7 +2,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>se.lantz</groupId>
|
<groupId>se.lantz</groupId>
|
||||||
<artifactId>PCUAEManager</artifactId>
|
<artifactId>PCUAEManager</artifactId>
|
||||||
<version>2.15.1</version>
|
<version>2.15.2</version>
|
||||||
<name>PCUAEManager</name>
|
<name>PCUAEManager</name>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
|
<project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package se.lantz.model;
|
package se.lantz.model;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -13,7 +14,7 @@ import se.lantz.model.data.GameListData;
|
||||||
|
|
||||||
public class GameListModel extends DefaultListModel<GameListData>
|
public class GameListModel extends DefaultListModel<GameListData>
|
||||||
{
|
{
|
||||||
private List<GameListData> currentGameList = Collections.emptyList();
|
private List<GameListData> currentGameList = new ArrayList<>();
|
||||||
|
|
||||||
private List<String> filterPrefixList = Arrays.asList("a:", "c:", "y:", "v:");
|
private List<String> filterPrefixList = Arrays.asList("a:", "c:", "y:", "v:");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue