summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitslist.h
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-07-27 15:59:11 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-07-27 15:59:11 +0300
commit8c2ccb5ed3b2acdf562acf0c1a180215d49742c8 (patch)
treef960e6e08ce9fe33cb0c036dfb50e10b3bdc42ce /indra/newview/lloutfitslist.h
parent0c8cddecc16d5bd25a2eb5159333ada1dec59259 (diff)
EXT-7015 FIXED Avoided wearing item moved to trash.
Details: Disabled wear button and hidden related context menu entries if base object of inventory link is in trash. reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/806/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/lloutfitslist.h')
-rw-r--r--indra/newview/lloutfitslist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lloutfitslist.h b/indra/newview/lloutfitslist.h
index d7cf8a8c08..dbb35c4d5f 100644
--- a/indra/newview/lloutfitslist.h
+++ b/indra/newview/lloutfitslist.h
@@ -105,6 +105,11 @@ public:
void getSelectedItemsUUIDs(uuid_vec_t& selected_uuids) const;
+ /**
+ * Returns true in case any of selected item is in trash.
+ */
+ bool isSelectedInTrash();
+
boost::signals2::connection setSelectionChangeCallback(selection_change_callback_t cb);
// Collects selected items from all selected lists and wears them(if possible- adds, else replaces)