Fix highlighting of Radar and Snapshot toolbar buttons.

Thanks to Done Arun.
This commit is contained in:
Aleric Inglewood
2011-07-16 17:20:07 +02:00
parent 2eb64525ae
commit b6d5743ccb
5 changed files with 23 additions and 13 deletions

View File

@@ -229,7 +229,10 @@ void LLFloaterAvatarList::createInstance(bool visible)
sInstance = new LLFloaterAvatarList();
LLUICtrlFactory::getInstance()->buildFloater(sInstance, "floater_radar.xml");
if(!visible)
{
sInstance->setVisible(FALSE);
gSavedSettings.setBOOL("ShowRadar", FALSE);
}
}
//static
void LLFloaterAvatarList::toggle(void*)