summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitgallery.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2020-01-16 14:45:26 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2020-01-16 14:45:26 +0000
commit28633bd159b072a0bc0ecfbb62b9f9d9c4cbe246 (patch)
tree36d679ca00a421e3afa288d36efbc86c80f051a6 /indra/newview/lloutfitgallery.cpp
parentd05a0448c0801f1462991145b29c48c8f48428f8 (diff)
SL-12569 - Fixed more places where texture upload cost was hardcoded in UI
Diffstat (limited to 'indra/newview/lloutfitgallery.cpp')
-rw-r--r--indra/newview/lloutfitgallery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 6c3d385811..53416036c9 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -910,6 +910,7 @@ bool LLOutfitGalleryContextMenu::onEnable(LLSD::String param)
bool LLOutfitGalleryContextMenu::onVisible(LLSD::String param)
{
+ mMenuHandle.get()->getChild<LLUICtrl>("upload_photo")->setLabelArg("[UPLOAD_COST]", std::to_string(LLAgentBenefitsMgr::current().getTextureUploadCost()));
if ("remove_photo" == param)
{
LLOutfitGallery* gallery = dynamic_cast<LLOutfitGallery*>(mOutfitList);