summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-09-30 00:26:44 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-09-30 00:26:44 +0300
commit9104b899961a9ceb61de73528e85f1a240f30cb5 (patch)
tree5ac855e69f7a82ef18556ffb8df823ab4adcccd7 /indra/newview/llpanelobjectinventory.h
parent6614a6ee9987ac2b199aaabe7d9cd520c613c13f (diff)
SL-18235 Remove outfit buttons from unpacking dialog
Diffstat (limited to 'indra/newview/llpanelobjectinventory.h')
-rw-r--r--indra/newview/llpanelobjectinventory.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llpanelobjectinventory.h b/indra/newview/llpanelobjectinventory.h
index 7b9ecfb8f3..0e450d8ce9 100644
--- a/indra/newview/llpanelobjectinventory.h
+++ b/indra/newview/llpanelobjectinventory.h
@@ -48,8 +48,14 @@ class LLViewerObject;
class LLPanelObjectInventory : public LLPanel, public LLVOInventoryListener
{
public:
- // dummy param block for template registration purposes
- struct Params : public LLPanel::Params {};
+ struct Params : public LLInitParam::Block<Params, LLPanel::Params>
+ {
+ Optional<bool> show_root_folder;
+
+ Params()
+ : show_root_folder("show_root_folder", true)
+ {}
+ };
LLPanelObjectInventory(const Params&);
virtual ~LLPanelObjectInventory();
@@ -110,6 +116,7 @@ private:
BOOL mIsInventoryEmpty; // 'Empty' label
BOOL mInventoryNeedsUpdate; // for idle, set on changed callback
LLFolderViewModelInventory mInventoryViewModel;
+ bool mShowRootFolder;
};
#endif // LL_LLPANELOBJECTINVENTORY_H