diff options
author | callum <none@none> | 2009-10-26 09:28:22 -0700 |
---|---|---|
committer | callum <none@none> | 2009-10-26 09:28:22 -0700 |
commit | c5bd549b277ba2e0a1040715a974f32b67d9834b (patch) | |
tree | aded2e7ec7fae026d9ee755c2a2ad251781e0586 /indra/llui/lliconctrl.cpp | |
parent | d8ed8489b01743cf97716e4385ab37881eeedf6a (diff) | |
parent | 53c972a521cbb92c6c9390c41b250a41dc22cd5a (diff) |
Merge
Diffstat (limited to 'indra/llui/lliconctrl.cpp')
-rw-r--r-- | indra/llui/lliconctrl.cpp | 7 |
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); } } |