diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-02-03 13:33:14 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-02-03 13:33:14 +0200 |
commit | 007bc25f66bd54421a089777b1a1ab28eeed1a7d (patch) | |
tree | a9f112f8d63ccbe120c1d15b1354d6321f5e8163 /indra/newview/llgrouplist.h | |
parent | 5e63efe1da6b72fc0ce9771b9ef1e5c9d9bcb537 (diff) |
Fixed critical bug EXT-4838 ([NUX] Add empty Groups list condition text)
- moved processing of empty list message into LLGroupList
- implemented separate messages for empty list: No matched groups / no groups at all
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgrouplist.h')
-rw-r--r-- | indra/newview/llgrouplist.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llgrouplist.h b/indra/newview/llgrouplist.h index f7afe0c0b2..f3ac676edd 100644 --- a/indra/newview/llgrouplist.h +++ b/indra/newview/llgrouplist.h @@ -53,6 +53,15 @@ class LLGroupList: public LLFlatListView, public LLOldEvents::LLSimpleListener public: struct Params : public LLInitParam::Block<Params, LLFlatListView::Params> { + /** + * Contains a message for empty list when user is not a member of any group + */ + Optional<std::string> no_groups_msg; + + /** + * Contains a message for empty list when all groups don't match passed filter + */ + Optional<std::string> no_filtered_groups_msg; Params(); }; @@ -80,6 +89,8 @@ private: bool mShowIcons; bool mDirty; std::string mNameFilter; + std::string mNoFilteredGroupsMsg; + std::string mNoGroupsMsg; }; class LLButton; |