summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2011-03-26 13:44:08 +0100
committerBlue Sans Douze <bluesansdouze@gmail.com>2011-03-26 16:59:35 +0100
commitc176ecada07af6235d6b65b839018e4e0bf07298 (patch)
treed49fdaf009c52e163b783c22b2105cf794ece068 /src/game.cpp
parente35b3bdd0a74464e4b4d3b931ca416f0c7864ba6 (diff)
downloadmana-c176ecada07af6235d6b65b839018e4e0bf07298.tar.gz
mana-c176ecada07af6235d6b65b839018e4e0bf07298.tar.bz2
mana-c176ecada07af6235d6b65b839018e4e0bf07298.tar.xz
mana-c176ecada07af6235d6b65b839018e4e0bf07298.zip
Add search bar to storage and inventory windows
Reviewed-by: thorbjorn
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index fd453434..18e72b6d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -604,7 +604,7 @@ void Game::handleInput()
break;
}
if (keyboard.isEnabled() && !chatWindow->isInputFocused() &&
- !NpcDialog::isAnyInputFocused())
+ !NpcDialog::isAnyInputFocused() && !InventoryWindow::isAnyInputFocused())
{
const int tKey = keyboard.getKeyIndex(event.key.keysym.sym);