summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-10 17:39:24 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-10 17:39:24 +0200
commite364b90d61b7711c088d9bca7307e3760f28c59d (patch)
tree1bdbc8dace6c11d9be27e975251f2e0058ef05da /indra/newview/llinventoryfunctions.cpp
parentfa50ce4b1054a453a97a81d64eb8099cae6f4cb5 (diff)
SL-19335 Switching view (using the switch button) should select appropriate folder
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 15916ffaba..eaea1ef972 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -810,7 +810,7 @@ void show_item_original(const LLUUID& item_uuid)
{
if(main_inventory->isSingleFolderMode())
{
- main_inventory->onViewModeClick();
+ main_inventory->toggleViewMode();
}
main_inventory->resetFilters();
}