From 020ae4ba6537fdce87209f07ea21cc002aaa52ba Mon Sep 17 00:00:00 2001 From: Jan-Fabian Humann Date: Mon, 14 Mar 2005 12:50:00 +0000 Subject: Fixed handling of get item button and made chatWindow (de)focus on ENTER - You can now only use the get item button when chat window isn't focused --- src/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine.cpp') diff --git a/src/engine.cpp b/src/engine.cpp index 0359e19f..1a60e6c3 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -184,8 +184,8 @@ Engine::Engine() screen->w - 5 - chargeDialog->getWidth(), screen->h - chargeDialog->getHeight() - 15); - // Give focus to chat window - chatWindow->requestFocus(); + // Do not focus any text field + gui->focusNone(); // Load the sprite sets ResourceManager *resman = ResourceManager::getInstance(); -- cgit v1.2.3-70-g09d2