forked from Mirrorlandia_minetest/irrlicht
Add missing break in CGUIModalScreen::OnEvent.
Recently added code to allow using tab-key's inside modal dialogs could also be called when moving the mouse while the tab-key was pressed. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6232 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -136,6 +136,7 @@ bool CGUIModalScreen::OnEvent(const SEvent& event)
|
|||||||
{
|
{
|
||||||
MouseDownTime = os::Timer::getTime();
|
MouseDownTime = os::Timer::getTime();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case EET_KEY_INPUT_EVENT:
|
case EET_KEY_INPUT_EVENT:
|
||||||
// CAREFUL when changing - there's an identical check in CGUIEnvironment::postEventFromUser
|
// CAREFUL when changing - there's an identical check in CGUIEnvironment::postEventFromUser
|
||||||
if (Environment->getFocusBehavior() & EFF_SET_ON_TAB &&
|
if (Environment->getFocusBehavior() & EFF_SET_ON_TAB &&
|
||||||
|
Reference in New Issue
Block a user