Permalink
Browse files

fix load window on title menu

  • Loading branch information...
1 parent b7b91fd commit e5feaf2cc5fa433ad1adf838c16650baa7276ddb @radius75 radius75 committed Sep 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Pi.cpp
View
@@ -922,12 +922,15 @@ void Pi::HandleMenuKey(int n)
case 4: // Load game
{
+ menu->HideAll();
+
GameLoader loader;
loader.DialogMainLoop();
game = loader.GetGame();
if (! game) {
// loading screen was cancelled;
// return without setting menuDone so the menu is re-displayed
+ menu->ShowAll();
return;
}
break;

0 comments on commit e5feaf2

Please sign in to comment.