EXT-3214 : Trash icon flahes in Recent Items when nothing in history
Trash icon is disabled when no items are selected. --HG-- branch : avatar-pipelinemaster
parent
e5eba40869
commit
9eee5fb5a4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue