diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2009-12-10 19:02:32 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2009-12-10 19:02:32 +0200 |
commit | 3e13bc913f3e527b1a9d4f500ad038c06cdf6525 (patch) | |
tree | 3e93416b19e77afdd834a581206ddcad99dc8a58 /indra/newview/llpanelmaininventory.cpp | |
parent | f11c6044562571d42c76abede6fa90db2b08493f (diff) | |
parent | 6a59342963aaf4188d1c1b104d71c31eae027d2b (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 9fd92725dc..21627e84ff 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -1020,6 +1020,7 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) can_delete = TRUE; std::set<LLUUID> selection_set; folder->getSelectionList(selection_set); + if (selection_set.empty()) return FALSE; for (std::set<LLUUID>::iterator iter = selection_set.begin(); iter != selection_set.end(); ++iter) |