aboutsummaryrefslogtreecommitdiff
path: root/common/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.cpp')
-rw-r--r--common/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/main.cpp b/common/main.cpp
index fee7d71183..ce5cec3df5 100644
--- a/common/main.cpp
+++ b/common/main.cpp
@@ -136,8 +136,7 @@ static void launcherDialog(GameDetector &detector, OSystem *system)
g_system = system;
Dialog *dlg = new LauncherDialog(g_gui, detector);
- dlg->open();
- g_gui->runLoop();
+ dlg->runModal();
delete dlg;
}