diff options
author | Oz Linden <oz@lindenlab.com> | 2011-08-04 15:39:33 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-08-04 15:39:33 -0400 |
commit | f42df4cd9fe8eb9e4a778dc9e5fdf94b4d6cfb59 (patch) | |
tree | 837c1eebc58b227f7049ee857fa6bd8fbbd25121 /indra/llui/llcombobox.cpp | |
parent | 94c171d89bae06d0bc259255a917db892019c369 (diff) | |
parent | 0b81c19cbe809f041e628da334c305ea33fae2e9 (diff) |
merge changes for storm-1538
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index a4d1854bc8..cddda03faf 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -791,8 +791,10 @@ BOOL LLComboBox::handleKeyHere(KEY key, MASK mask) return FALSE; } // if selection has changed, pop open list - else if (mList->getLastSelectedItem() != last_selected_item || - (key == KEY_DOWN || key == KEY_UP) && !mList->isEmpty()) + else if (mList->getLastSelectedItem() != last_selected_item + || ((key == KEY_DOWN || key == KEY_UP) + && mList->getCanSelect() + && !mList->isEmpty())) { showList(); } |