diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-12-10 13:22:55 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-12-10 13:22:55 -0800 |
commit | e27bcbe0d20c87556b0bcb1e3feaaea6544d3e16 (patch) | |
tree | 910dbc7db40ddae4c66ad24e9b25346771500a75 /indra/llui/llcombobox.cpp | |
parent | 95445fb1b56a60145933db0891133230c87274b8 (diff) | |
parent | 426744df2c9a6c04bab594fefbd8b35970d0948d (diff) |
Merge from viewer-development
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 70014fe4f5..6b06040b8a 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -769,7 +769,8 @@ 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)) + else if (mList->getLastSelectedItem() != last_selected_item || + (key == KEY_DOWN || key == KEY_UP) && !mList->isEmpty()) { showList(); } |