diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-01 00:46:02 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-01 00:46:02 +0300 |
commit | 35d68ce7373812d5ab028505ed035a4678da3ec9 (patch) | |
tree | 90d0abfca807ab47e02bf87fa44c18344193de08 /indra/newview | |
parent | bbcedf9c847f1f768e6c34e74a6a4373b0e7ae24 (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.cpp | 2 |
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(); |