From d5bcb63f829f4c4aecd45cb60e492ca896ad77a5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 16 Oct 2002 17:37:30 +0000 Subject: dialogs now can be run 'modal' svn-id: r5168 --- common/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/main.cpp') 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; } -- cgit v1.2.3