Added gameList.select(0)
The first saved game in the list now is selected by default so that the
user can straight away click 'Load'.
Index checking for '0' is already performed in the select() method.
@@ -82,6 +82,7 @@ public String get() {
final UIList<GameInfo> gameList = find("gameList", UIList.class);
refreshList(gameList);
+ gameList.select(0);
gameList.subscribe((widget, item) -> loadGame(item));
CreateGameScreen screen = getManager().createScreen(CreateGameScreen.ASSET_URI, CreateGameScreen.class);
