summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-07-09 17:06:24 -0700
committerRider Linden <rider@lindenlab.com>2018-07-09 17:06:24 -0700
commit26b6cc516076c55befff3fbd9c21f47565bbc390 (patch)
treec4bddc640a6ce1d07b2ae67ee19fb3e864bdd39c /indra/newview/llinventorypanel.cpp
parent21d165011b81909c8cab944755b53f908e51ad16 (diff)
MAINT-8821: Clean up some of the selection and enable/disable code, Add menu for adding settings.
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index b60999e64a..d84ce16792 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -1102,6 +1102,11 @@ void LLInventoryPanel::clearSelection()
mSelectThisID.setNull();
}
+LLInventoryPanel::selected_items_t LLInventoryPanel::getSelectedItems() const
+{
+ return mFolderRoot.get()->getSelectionList();
+}
+
void LLInventoryPanel::onSelectionChange(const std::deque<LLFolderViewItem*>& items, BOOL user_action)
{
// Schedule updating the folder view context menu when all selected items become complete (STORM-373).