summaryrefslogtreecommitdiff
path: root/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
authorleyla_linden <none@none>2010-12-03 15:44:39 -0800
committerleyla_linden <none@none>2010-12-03 15:44:39 -0800
commit35c67ca7fb9964ee3eabeb66ec441ded94256951 (patch)
treee70ab4204e8284f201ada83dca884ad8091146bb /indra/llui/llcombobox.cpp
parent35d50fe36e83a0b76816c693dc89219041393ae5 (diff)
parent32db8988ffab8778de106dc769228089bec8aad1 (diff)
Merge
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r--indra/llui/llcombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index a268ee5d75..70014fe4f5 100644
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -769,7 +769,7 @@ BOOL LLComboBox::handleKeyHere(KEY key, MASK mask)
return FALSE;
}
// if selection has changed, pop open list
- else
+ else if ((mList->getLastSelectedItem() != last_selected_item) || (key == KEY_DOWN) || (key == KEY_UP))
{
showList();
}