From 3f1b90e732b78a9ac66ae0790b113325a98babaf Mon Sep 17 00:00:00 2001 From: Jan Borsodi Date: Wed, 15 Sep 2010 13:10:47 +0200 Subject: [PATCH] When a dialog is done and no new is to be shown we return to Game mode. --- apps/openmw/mwgui/window_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw/mwgui/window_manager.cpp b/apps/openmw/mwgui/window_manager.cpp index f0e0c5b69..6bcc2743a 100644 --- a/apps/openmw/mwgui/window_manager.cpp +++ b/apps/openmw/mwgui/window_manager.cpp @@ -192,6 +192,8 @@ void WindowManager::onNameDialogDone() setMode(GM_Review); else if (goNext) setMode(GM_Race); + else + setMode(GM_Game); } void WindowManager::onRaceDialogDone() @@ -212,6 +214,8 @@ void WindowManager::onRaceDialogDone() setMode(GM_Review); else if (goNext) setMode(GM_Class); + else + setMode(GM_Game); } void WindowManager::onRaceDialogBack()