diff options
| author | Dessie Linden <dessie@lindenlab.com> | 2010-05-14 09:11:17 -0700 |
|---|---|---|
| committer | Dessie Linden <dessie@lindenlab.com> | 2010-05-14 09:11:17 -0700 |
| commit | 5fe6a5489ccfea4772f4cd4e3310b98a71ff2bab (patch) | |
| tree | 74f791fe0470ae9528b552e87ff572851efab3da /indra/newview/llpanelmaininventory.cpp | |
| parent | c72d3b8bf40d7a6443345a9a53df5e6f7739a4b1 (diff) | |
| parent | d9f519d55c4b5cff0fa56d2130a7e25a144be9ff (diff) | |
Merged
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(); |
