summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-01-25 14:48:39 +0200
committerMike Antipov <mantipov@productengine.com>2010-01-25 14:48:39 +0200
commiteff95bbea9bb9234e9df9fca7f5bc033f1b99358 (patch)
treec390c131bffaa95f2c100941cce02ec20186c390 /indra/newview/llinventorypanel.cpp
parent088056c5bf4adc589c7fcc65236b90a466e59705 (diff)
parent7094921d1f235ff45cc5b3ef58b64c2812c8676f (diff)
Merge with default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 9141d50829..7e71ac90b4 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -682,6 +682,14 @@ void LLInventoryPanel::setSelection(const LLUUID& obj_id, BOOL take_keyboard_foc
mFolders->setSelectionByID(obj_id, take_keyboard_focus);
}
+void LLInventoryPanel::setSelectCallback(const LLFolderView::signal_t::slot_type& cb)
+{
+ if (mFolders)
+ {
+ mFolders->setSelectCallback(cb);
+ }
+}
+
void LLInventoryPanel::clearSelection()
{
mFolders->clearSelection();