summaryrefslogtreecommitdiff
path: root/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
authorNorthspring <pantera.polnocy@phoenixviewer.com>2015-04-23 22:43:05 +0200
committerNorthspring <pantera.polnocy@phoenixviewer.com>2015-04-23 22:43:05 +0200
commit942d72ec36aa0e8be1d1aac35ab679463741b2d1 (patch)
tree02f84efaf0effaccc11e48c161a45f6693ec61c5 /indra/llui/llcombobox.cpp
parent2eb07a7080a85e9a63a6f5aff49907b386b865d2 (diff)
parentfde0868231a25b8c9ce03a86cb53f1738d35688d (diff)
Merge
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rwxr-xr-xindra/llui/llcombobox.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index 56be52f69a..b32aea5ffa 100755
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -788,6 +788,11 @@ BOOL LLComboBox::handleKeyHere(KEY key, MASK mask)
// since the dropdown button eats the key
if (key == KEY_RETURN)
{
+ if (mask == MASK_NONE)
+ {
+ mOnReturnSignal(this, getValue());
+ }
+
// don't show list and don't eat key input when committing
// free-form text entry with RETURN since user already knows
// what they are trying to select