Improve upon previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d5168a6f4f
commit
2719079977
@ -146,8 +146,7 @@ void TextBoxWidget::unfocused(const int playerID, Widget* new_focus)
|
||||
|
||||
setWithinATextBox(false);
|
||||
|
||||
if (new_focus != NULL)
|
||||
GUIEngine::getGUIEnv()->setFocus(new_focus->getIrrlichtElement());
|
||||
GUIEngine::getGUIEnv()->removeFocus(m_element);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user