summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-08-13 00:48:49 +0000
committerLoren Shih <seraph@lindenlab.com>2009-08-13 00:48:49 +0000
commit238b9a2e8194ab42fa885fb96a01c7ee47357e02 (patch)
tree677ee107c7d52352b41b628e77c7eca28d4ec705 /indra/newview
parentefd58603da6062d90a5d7019987409994bc73858 (diff)
For DEV-37907 : Goto item should scroll inventory view to baseobj
Simple fix to scroll the inventory panel to show a folder if you select "Goto Link" from a folder link.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorybridge.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 5f634496d3..59041792a2 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -5345,6 +5345,7 @@ void LLLinkFolderBridge::gotoItem(LLFolderView *folder)
}
base_folder->setOpen(TRUE);
folder->setSelectionFromRoot(base_folder,TRUE);
+ folder->scrollToShowSelection();
}
}
}