diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-13 16:53:29 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-13 16:53:29 -0400 |
commit | 1d6ebfbb573bca573c60d666d12a401c1f21d37d (patch) | |
tree | 57ba3759af8299bd133d2725c75d7f0a9ac1ad52 /indra/newview/llpanelmaininventory.cpp | |
parent | b0c2aebece1f4a6a02c704aa17d199379732c132 (diff) |
EXT-4088 : FIXED : INFRASTRUCTURE : Change LLFolderView::getSelectionList to return a selection
Function signature change to return a selection instead of taking one as an argument.
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index a84280c213..327196d9ba 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -1099,8 +1099,7 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) if (root) { can_delete = TRUE; - std::set<LLUUID> selection_set; - root->getSelectionList(selection_set); + std::set<LLUUID> selection_set = root->getSelectionList(); if (selection_set.empty()) return FALSE; for (std::set<LLUUID>::iterator iter = selection_set.begin(); iter != selection_set.end(); |