Fixed apperance interface (#551)

master
krzys-h 2015-08-09 22:32:28 +02:00
parent 6b4610e808
commit 903f4f144f
1 changed files with 5 additions and 2 deletions

View File

@ -122,9 +122,12 @@ void CMainUserInterface::ShowLoadingScreen(bool show)
m_screenLoading->CreateInterface();
}
else
{
if (m_currentScreen == m_screenLoading.get())
{
m_screenLoading->DestroyInterface();
m_currentScreen = nullptr;
}
m_app->SetMouseMode(m_settings->GetSystemMouse() ? MOUSE_SYSTEM : MOUSE_ENGINE);
}
}