summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-29 18:57:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-29 20:27:14 +0300
commit085abf777701c8bdb3091084fe851b125e787ae1 (patch)
tree249bff71b2bf3166825ddbf911a9b9a048f6d2a2 /src/gui
parent9327a603fcc3c1b3ff91ae21e478094b30a32f7f (diff)
downloadmanaverse-085abf777701c8bdb3091084fe851b125e787ae1.tar.gz
manaverse-085abf777701c8bdb3091084fe851b125e787ae1.tar.bz2
manaverse-085abf777701c8bdb3091084fe851b125e787ae1.tar.xz
manaverse-085abf777701c8bdb3091084fe851b125e787ae1.zip
Block special keys in npc menu selection.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 3e5b30a9c..362d9db9d 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -363,7 +363,8 @@ bool NpcDialog::isTextInputFocused() const
bool NpcDialog::isInputFocused() const
{
- return mTextField->isFocused() || mIntField->isFocused();
+ return mTextField->isFocused() || mIntField->isFocused()
+ || mItemList->isFocused();
}
bool NpcDialog::isAnyInputFocused()