From 35d68ce7373812d5ab028505ed035a4678da3ec9 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev <andreykproductengine@lindenlab.com> Date: Sat, 1 Jul 2023 00:46:02 +0300 Subject: [PATCH] SL-19914 Inventory gallery Tab support #3 Don't try to select something if we are waiting for an item --- indra/newview/llinventorygallery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp index 271cc3e037e..75df5c10439 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(); -- GitLab