summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
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();
}