summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-01 00:46:02 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-01 00:46:02 +0300
commit35d68ce7373812d5ab028505ed035a4678da3ec9 (patch)
tree90d0abfca807ab47e02bf87fa44c18344193de08 /indra/newview
parentbbcedf9c847f1f768e6c34e74a6a4373b0e7ae24 (diff)
SL-19914 Inventory gallery Tab support #3
Don't try to select something if we are waiting for an item
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorygallery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp
index 271cc3e037..75df5c1043 100644
--- a/indra/newview/llinventorygallery.cpp
+++ b/indra/newview/llinventorygallery.cpp
@@ -1261,7 +1261,7 @@ void LLInventoryGallery::onFocusReceived()
focus_item->setSelected(true);
focus_item->setFocus(TRUE);
}
- else if (mIndexToItemMap.size() > 0)
+ else if (mIndexToItemMap.size() > 0 && mItemToSelect.isNull())
{
// choose any items from visible rect
S32 vert_offset = mScrollPanel->getDocPosVertical();