From c3419d8ddb031799299fe52256d62f0bccc3ea38 Mon Sep 17 00:00:00 2001 From: auria Date: Sat, 31 Oct 2009 23:14:52 +0000 Subject: [PATCH] Improved 'space' interrupting type-a-name dialog when it's mapped to fire (in some cases it still doesn't work, didn't find why) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4185 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/event_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/event_handler.cpp b/src/guiengine/event_handler.cpp index bbb2aa581..e3b616c73 100644 --- a/src/guiengine/event_handler.cpp +++ b/src/guiengine/event_handler.cpp @@ -282,7 +282,7 @@ void EventHandler::processAction(const int action, const unsigned int value, Inp break; case PA_FIRE: - if (pressedDown) + if (pressedDown && !isWithinATextBox) { Widget* w = GUIEngine::getFocusForPlayer(playerID); if (w == NULL) break;