fixed password popup UI issue. Closes #583

This commit is contained in:
oy 2011-06-27 16:39:23 +02:00
parent b17a7be286
commit 1239150846

View file

@ -251,6 +251,7 @@ int CMenus::DoEditBox(void *pID, const CUIRect *pRect, char *pStr, unsigned StrS
{
if(!UI()->MouseButton(0))
{
s_AtIndex = min(s_AtIndex, str_length(pStr));
s_DoScroll = false;
UI()->SetActiveItem(0);
}