summaryrefslogtreecommitdiff
path: root/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-03 17:37:00 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-03 17:37:00 -0500
commit32db8988ffab8778de106dc769228089bec8aad1 (patch)
treec29018f2067dd514e50ed59456a20bec41628c89 /indra/llui/llcombobox.cpp
parent46a2bbf8dad21364e8f4842d8b6426fbae543167 (diff)
parent8e7632552b8541a37cca6ae623140d70f74deaac (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();
}