aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 80494f79e6..fd600b8272 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -97,7 +97,8 @@ LauncherDialog::LauncherDialog(NewGui *gui, GameDetector &detector)
v++;
}
- _list->setList(l);
+ if (l.size() > 0)
+ _list->setList(l);
// TODO - make a default selection (maybe the game user played last?)
//_list->setSelected(0);