mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 15:41:41 +00:00
Don't crash the launcher if there are no entries
svn-id: r5342
This commit is contained in:
parent
959a9acf14
commit
29f335c15e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user