fix: exception when selecting individual games to export

This commit is contained in:
lantzelot-swe 2023-12-21 14:03:38 +01:00
parent 67e93100e6
commit fc99e08ae6
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>se.lantz</groupId>
<artifactId>PCUAEManager</artifactId>
<version>2.15.1</version>
<version>2.15.2</version>
<name>PCUAEManager</name>
<properties>
<project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>

View File

@ -1,5 +1,6 @@
package se.lantz.model;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@ -13,7 +14,7 @@ import se.lantz.model.data.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:");