summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupexperiences.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-07-09 13:43:24 -0700
committerdolphin <dolphin@lindenlab.com>2014-07-09 13:43:24 -0700
commite414dfad51b3747fa20c0023820980f23f1cad2c (patch)
tree403a5c6aa5a8d74606c740dae7b5aad106c795b6 /indra/newview/llpanelgroupexperiences.cpp
parentdd309984d7566710b9ceaf8f6edf2de1672f4f9c (diff)
parentf804bcadb18488d36a97dc1f3a9ca2e4b1f7f039 (diff)
Merge
Diffstat (limited to 'indra/newview/llpanelgroupexperiences.cpp')
-rw-r--r--indra/newview/llpanelgroupexperiences.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llpanelgroupexperiences.cpp b/indra/newview/llpanelgroupexperiences.cpp
index 140a71a528..76b68122fb 100644
--- a/indra/newview/llpanelgroupexperiences.cpp
+++ b/indra/newview/llpanelgroupexperiences.cpp
@@ -82,7 +82,11 @@ LLPanelGroupExperiences::~LLPanelGroupExperiences()
BOOL LLPanelGroupExperiences::postBuild()
{
mExperiencesList = getChild<LLFlatListView>("experiences_list");
- if(hasString("no_experiences"))
+ if (hasString("loading_experiences"))
+ {
+ mExperiencesList->setNoItemsCommentText(getString("loading_experiences"));
+ }
+ else if (hasString("no_experiences"))
{
mExperiencesList->setNoItemsCommentText(getString("no_experiences"));
}
@@ -121,6 +125,10 @@ void LLPanelGroupExperiences::setGroupID(const LLUUID& id)
void LLPanelGroupExperiences::setExperienceList(const LLSD& experiences)
{
+ if (hasString("no_experiences"))
+ {
+ mExperiencesList->setNoItemsCommentText(getString("no_experiences"));
+ }
mExperiencesList->clear();
LLSD::array_const_iterator it = experiences.beginArray();