From 7ce229a658f47e127147fc643772b3f309cf2278 Mon Sep 17 00:00:00 2001 From: cutealien Date: Fri, 20 Aug 2021 12:27:05 +0000 Subject: [PATCH] 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 --- source/Irrlicht/CGUIModalScreen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Irrlicht/CGUIModalScreen.cpp b/source/Irrlicht/CGUIModalScreen.cpp index d18048c..66f769e 100644 --- a/source/Irrlicht/CGUIModalScreen.cpp +++ b/source/Irrlicht/CGUIModalScreen.cpp @@ -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 &&