diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-03 18:03:36 +0200 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-03 18:03:36 +0200 |
commit | 41e6455f7404b001696f8fe54e4353c80059c6e5 (patch) | |
tree | 9fd8c947644f0ab457aa9f6db9b6444dee88542d /indra/newview/llpanelsnapshotinventory.cpp | |
parent | ce05b9f7e5347c28780b399efa70992cb7bf5229 (diff) |
STORM-1580 WIP Updated texture upload progress according to the spec.
By the way, fixed displaying upload cost.
Diffstat (limited to 'indra/newview/llpanelsnapshotinventory.cpp')
-rw-r--r-- | indra/newview/llpanelsnapshotinventory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelsnapshotinventory.cpp b/indra/newview/llpanelsnapshotinventory.cpp index c781138f88..d517d3811d 100644 --- a/indra/newview/llpanelsnapshotinventory.cpp +++ b/indra/newview/llpanelsnapshotinventory.cpp @@ -27,6 +27,7 @@ #include "llviewerprecompiledheaders.h" #include "llcombobox.h" +#include "lleconomy.h" #include "llsidetraypanelcontainer.h" #include "llspinctrl.h" @@ -86,6 +87,7 @@ void LLPanelSnapshotInventory::onOpen(const LLSD& key) #if 0 getChild<LLComboBox>(getImageSizeComboName())->selectNthItem(0); // FIXME? has no effect #endif + getChild<LLUICtrl>("hint_lbl")->setTextArg("[UPLOAD_COST]", llformat("%d", LLGlobalEconomy::Singleton::getInstance()->getPriceUpload())); updateCustomResControls(); LLPanelSnapshot::onOpen(key); } |