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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user