summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-03-04 14:28:34 -0800
committerMerov Linden <merov@lindenlab.com>2014-03-04 14:28:34 -0800
commitc7e2f81bbf299cf884d9e687fc4a7e7f7096c877 (patch)
tree1436dbf2dfac1deecee4a2ded9a891b7bf68bfb5 /indra/llui/llfolderview.h
parentde8fea13627cc5978b8a6135802a52864a11c39a (diff)
parentd2b604c61181a03bb16f2b951b6f86c582860759 (diff)
Pull merge from viewer-maint-2287 aka Merchant Outbox
Diffstat (limited to 'indra/llui/llfolderview.h')
-rwxr-xr-xindra/llui/llfolderview.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llfolderview.h b/indra/llui/llfolderview.h
index 11fccdace4..5b83049e5c 100755
--- a/indra/llui/llfolderview.h
+++ b/indra/llui/llfolderview.h
@@ -229,7 +229,7 @@ public:
void setCallbackRegistrar(LLUICtrl::CommitCallbackRegistry::ScopedRegistrar* registrar) { mCallbackRegistrar = registrar; }
- LLPanel* getParentPanel() { return mParentPanel; }
+ LLPanel* getParentPanel() { return mParentPanel.get(); }
// DEBUG only
void dumpSelectionInformation();
@@ -238,6 +238,9 @@ public:
bool useLabelSuffix() { return mUseLabelSuffix; }
void updateMenu();
+ // Note: We may eventually have to move that method up the hierarchy to LLFolderViewItem.
+ LLHandle<LLFolderView> getHandle() const { return getDerivedHandle<LLFolderView>(); }
+
private:
void updateMenuOptions(LLMenuGL* menu);
void updateRenamerPosition();
@@ -295,7 +298,7 @@ protected:
S32 mMinWidth;
BOOL mDragAndDropThisFrame;
- LLPanel* mParentPanel;
+ LLHandle<LLPanel> mParentPanel;
LLFolderViewModelInterface* mViewModel;