summaryrefslogtreecommitdiff
path: root/indra/llui/lliconctrl.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev ychebotarev@productengine.com <Yuri Chebotarev ychebotarev@productengine.com>2009-10-26 15:49:50 +0200
committerYuri Chebotarev ychebotarev@productengine.com <Yuri Chebotarev ychebotarev@productengine.com>2009-10-26 15:49:50 +0200
commite4b3b5f7df55df49f1253cf5fa7bd728e1fbb094 (patch)
treed226e8b06184ec9b49066bd18df30a7de25dc980 /indra/llui/lliconctrl.cpp
parent88f2d107c0a757b9cc6dee7c30a9482c02a05c08 (diff)
parent27b65de2242135d35e189eeec685ae90ba56b505 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/lliconctrl.cpp')
-rw-r--r--indra/llui/lliconctrl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llui/lliconctrl.cpp b/indra/llui/lliconctrl.cpp
index 0330a2b374..66c2ba682f 100644
--- a/indra/llui/lliconctrl.cpp
+++ b/indra/llui/lliconctrl.cpp
@@ -56,7 +56,8 @@ LLIconCtrl::Params::Params()
LLIconCtrl::LLIconCtrl(const LLIconCtrl::Params& p)
: LLUICtrl(p),
mColor(p.color()),
- mImagep(p.image)
+ mImagep(p.image),
+ mPriority(0)
{
if (mImagep.notNull())
{
@@ -93,11 +94,11 @@ void LLIconCtrl::setValue(const LLSD& value )
LLUICtrl::setValue(tvalue);
if (tvalue.isUUID())
{
- mImagep = LLUI::getUIImageByID(tvalue.asUUID());
+ mImagep = LLUI::getUIImageByID(tvalue.asUUID(), mPriority);
}
else
{
- mImagep = LLUI::getUIImage(tvalue.asString());
+ mImagep = LLUI::getUIImage(tvalue.asString(), mPriority);
}
}