git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-03-28 00:08:29 +00:00
parent bbc5330241
commit 5c2ec6014a

View File

@ -157,7 +157,7 @@ EventPropagation EventHandler::onGUIEvent(const SEvent& event)
if (w->m_type == WTYPE_LIST)
{
// cheap way to remove the focus from the element (nope, IGUIEnv::removeFocus doesn't work)
// Obviously will not work if the list if the first item of the screen.
// Obviously will not work if the list is the first item of the screen.
GUIEngine::getGUIEnv()->setFocus( getCurrentScreen()->getFirstWidget()->getIrrlichtElement() );
return EVENT_BLOCK; // confirms to irrLicht that we processed it
}