diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-29 18:57:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:27:14 +0300 |
commit | 085abf777701c8bdb3091084fe851b125e787ae1 (patch) | |
tree | 249bff71b2bf3166825ddbf911a9b9a048f6d2a2 /src/gui | |
parent | 9327a603fcc3c1b3ff91ae21e478094b30a32f7f (diff) | |
download | manaplus-085abf777701c8bdb3091084fe851b125e787ae1.tar.gz manaplus-085abf777701c8bdb3091084fe851b125e787ae1.tar.bz2 manaplus-085abf777701c8bdb3091084fe851b125e787ae1.tar.xz manaplus-085abf777701c8bdb3091084fe851b125e787ae1.zip |
Block special keys in npc menu selection.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/npcdialog.cpp | 3 |
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() |