diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-26 17:53:48 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-26 17:53:48 -0400 |
commit | 4a361046f32a685408ddbc1e4a3138946c448ff1 (patch) | |
tree | e9fd02273346a23eea02728069bc576d5a0874a8 /indra/newview/llfolderview.h | |
parent | 6ad892aa95b50a4bbcd369657d47d428ee248f96 (diff) |
EXT-8229 FIXED Add "--no options--" automatically instead of special casing for it in right-click menus
Changed logic so that the menu is post-processed and, at that time, nooptions is added if the menu is seen to be empty.
Diffstat (limited to 'indra/newview/llfolderview.h')
-rw-r--r-- | indra/newview/llfolderview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfolderview.h b/indra/newview/llfolderview.h index 3944fa53c9..4047e31c08 100644 --- a/indra/newview/llfolderview.h +++ b/indra/newview/llfolderview.h @@ -291,6 +291,8 @@ protected: bool selectFirstItem(); bool selectLastItem(); + BOOL addNoOptions(LLMenuGL* menu) const; + protected: LLHandle<LLView> mPopupMenuHandle; |