diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-03-14 12:50:00 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-03-14 12:50:00 +0000 |
commit | 020ae4ba6537fdce87209f07ea21cc002aaa52ba (patch) | |
tree | 6d17dec981f0c2b2ef60a35652cb931d63c32022 /src/engine.cpp | |
parent | bb5886f5351a148b5443adaee0a64ca6e81ee0b9 (diff) | |
download | mana-020ae4ba6537fdce87209f07ea21cc002aaa52ba.tar.gz mana-020ae4ba6537fdce87209f07ea21cc002aaa52ba.tar.bz2 mana-020ae4ba6537fdce87209f07ea21cc002aaa52ba.tar.xz mana-020ae4ba6537fdce87209f07ea21cc002aaa52ba.zip |
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
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |