summaryrefslogtreecommitdiff
path: root/indra/newview/llsidetray.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-11-27 11:41:15 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-11-27 11:41:15 +0200
commit27f5fece0343ac3f140c46211671c275795a2877 (patch)
tree4fcdba0889cf171b2850e2396c051829de675dd6 /indra/newview/llsidetray.cpp
parent87ed47c9145c22e7b9e26f4bbca5282c128ac746 (diff)
fix for low Bug EXT-2756 side tray button are gray instead of white
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llsidetray.cpp')
-rw-r--r--indra/newview/llsidetray.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp
index ee5fa46c9c..ee62d689b5 100644
--- a/indra/newview/llsidetray.cpp
+++ b/indra/newview/llsidetray.cpp
@@ -583,6 +583,17 @@ void LLSideTray::expandSideBar()
mActiveTab->onOpen(key);
reflectCollapseChange();
+
+
+ std::string name = mActiveTab->getName();
+ std::map<std::string,LLButton*>::const_iterator btn_it =
+ mTabButtons.find(name);
+ if (btn_it != mTabButtons.end())
+ {
+ LLButton* btn = btn_it->second;
+ btn->setImageOverlay( mActiveTab->mImageSelected );
+ }
+
}
void LLSideTray::highlightFocused()