From 0304357384850466ab75ba586ba665c566fa2793 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Fri, 21 Apr 2023 18:48:54 +0300 Subject: SL-19356 bring existing sfv floater to the top regardless of selected view mode --- indra/newview/llpanelmaininventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index ee1801b9f3..98099dd407 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -455,7 +455,7 @@ void LLPanelMainInventory::newFolderWindow(LLUUID folder_id, LLUUID item_to_sele { LLPanelMainInventory* main_inventory = sidepanel_inventory->getMainInventoryPanel(); if (main_inventory && main_inventory->isSingleFolderMode() - && (main_inventory->getSingleFolderViewRoot() == folder_id)) + && (main_inventory->getCurrentSFVRoot() == folder_id)) { main_inventory->setFocus(true); if(item_to_select.notNull()) -- cgit v1.2.3