fixed frozen GUI caused by popups

This commit is contained in:
oy 2013-03-16 15:30:40 +01:00
parent 109e122f4f
commit 38b5d9987c

View file

@ -2186,6 +2186,9 @@ int CMenus::Render()
if(DoButton_Menu(&s_Button, pButtonText, 0, &BottomBar) || m_EscapePressed || m_EnterPressed)
m_Popup = m_NextPopup;
}
if(m_Popup == POPUP_NONE)
UI()->SetActiveItem(0);
}
return 0;