mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-10 09:43:52 +01:00
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:
parent
e98b3bed57
commit
7ce229a658
@ -136,6 +136,7 @@ bool CGUIModalScreen::OnEvent(const SEvent& event)
|
||||
{
|
||||
MouseDownTime = os::Timer::getTime();
|
||||
}
|
||||
break;
|
||||
case EET_KEY_INPUT_EVENT:
|
||||
// CAREFUL when changing - there's an identical check in CGUIEnvironment::postEventFromUser
|
||||
if (Environment->getFocusBehavior() & EFF_SET_ON_TAB &&
|
||||
|
Loading…
Reference in New Issue
Block a user