diff options
author | Merov Linden <merov@lindenlab.com> | 2014-04-22 13:32:15 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-04-22 13:32:15 -0700 |
commit | f6bb6a0f935323434a3f3d0d94e94c8d8238effe (patch) | |
tree | 81945284f515f25ce23284077b1e07f500ad64ff /indra/llui/llfolderview.h | |
parent | c79abac5ad5d41f86655883fd9f3ec6a108967a7 (diff) | |
parent | c71e459bed68c1602d409e5c946c5e016d09d105 (diff) |
Pull merge from lindenlab/viewer-release
Diffstat (limited to 'indra/llui/llfolderview.h')
-rwxr-xr-x | indra/llui/llfolderview.h | 7 |
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; |