diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-03-29 18:52:54 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-03-29 18:52:54 +0300 |
commit | 0e155c51a95f092dda4f1ee71b4de46c7e98c10d (patch) | |
tree | 4b43aa9a820613fbcd58eddf4959feff6dbfe600 /indra/newview/lltoastgroupnotifypanel.cpp | |
parent | 783cc9756ad6cc07d27bf985171c922aa20b0fc8 (diff) |
MAINT-6257 Textures loading issues.
Diffstat (limited to 'indra/newview/lltoastgroupnotifypanel.cpp')
-rwxr-xr-x | indra/newview/lltoastgroupnotifypanel.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/lltoastgroupnotifypanel.cpp b/indra/newview/lltoastgroupnotifypanel.cpp index cafe757c1a..f6ca0bc9d7 100755 --- a/indra/newview/lltoastgroupnotifypanel.cpp +++ b/indra/newview/lltoastgroupnotifypanel.cpp @@ -31,7 +31,7 @@ #include "llfocusmgr.h" #include "llbutton.h" -#include "lliconctrl.h" +#include "llgroupiconctrl.h" #include "llinventoryfunctions.h" #include "llinventoryicon.h" #include "llnotifications.h" @@ -65,8 +65,10 @@ LLToastGroupNotifyPanel::LLToastGroupNotifyPanel(const LLNotificationPtr& notifi } //group icon - LLIconCtrl* pGroupIcon = getChild<LLIconCtrl>("group_icon", TRUE); - pGroupIcon->setValue(groupData.mInsigniaID); + LLGroupIconCtrl* pGroupIcon = getChild<LLGroupIconCtrl>("group_icon", TRUE); + + // We should already have this data preloaded, so no sense in setting icon through setValue(group_id) + pGroupIcon->setIconId(groupData.mInsigniaID); //header title std::string from_name = payload["sender_name"].asString(); |