summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupgeneral.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-15 15:13:11 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-15 15:13:11 +0000
commit65550520ed00699098b221a1166e4c1763333d58 (patch)
treebcd62aa2b6897b0dc424f8ecfadc2550d417ec4a /indra/newview/llpanelgroupgeneral.cpp
parent7df0a4ddd0c48358e7152733aaba01464f2620be (diff)
SL-10499 - benefits. Removed no-longer-needed lleconomy files and classes. Group-related costs and limits via benefits.
Diffstat (limited to 'indra/newview/llpanelgroupgeneral.cpp')
-rw-r--r--indra/newview/llpanelgroupgeneral.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp
index b53cd222e7..2d0a09b469 100644
--- a/indra/newview/llpanelgroupgeneral.cpp
+++ b/indra/newview/llpanelgroupgeneral.cpp
@@ -30,6 +30,7 @@
#include "llavatarnamecache.h"
#include "llagent.h"
+#include "llagentbenefits.h"
#include "llsdparam.h"
#include "lluictrlfactory.h"
#include "roles_constants.h"
@@ -339,7 +340,9 @@ bool LLPanelGroupGeneral::apply(std::string& mesg)
return false;
}
- LLNotificationsUtil::add("CreateGroupCost", LLSD(), LLSD(), boost::bind(&LLPanelGroupGeneral::createGroupCallback, this, _1, _2));
+ LLSD args;
+ args["COST"] = LLAgentBenefits::instance().getCreateGroupCost();
+ LLNotificationsUtil::add("CreateGroupCost", args, LLSD(), boost::bind(&LLPanelGroupGeneral::createGroupCallback, this, _1, _2));
return false;
}