Issue 1836: Autoresponse Improvement, adds World->Status->Autoresponse submenu

Moves Fake Away, Busy, and Away into a submenu of World called Status, from upstream.

Tweak to LLView::findControl to work with per account controls too.
TogglePerAccountControl added for when a control a menu is using is not in the main group.
This commit is contained in:
Inusaito Sayori
2015-04-24 23:41:19 -04:00
parent a6ae79f9b1
commit 193fc27ba2
3 changed files with 51 additions and 1 deletions

View File

@@ -2416,7 +2416,9 @@ LLControlVariable *LLView::findControl(const std::string& name)
{
return mParentView->findControl(name);
}
return LLUI::sConfigGroup->getControl(name);
if (LLControlVariable* control = LLUI::sConfigGroup->getControl(name))
return control;
return LLUI::sAccountGroup->getControl(name);
}
const S32 FLOATER_H_MARGIN = 15;