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

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