diff options
author | Rider Linden <rider@lindenlab.com> | 2018-07-09 17:06:24 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-07-09 17:06:24 -0700 |
commit | 26b6cc516076c55befff3fbd9c21f47565bbc390 (patch) | |
tree | c4bddc640a6ce1d07b2ae67ee19fb3e864bdd39c /indra/newview/llinventorypanel.cpp | |
parent | 21d165011b81909c8cab944755b53f908e51ad16 (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.cpp | 5 |
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). |