diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp
index 20c53ca42..e0c0cb1e0 100644
--- a/indra/llui/llscrolllistctrl.cpp
+++ b/indra/llui/llscrolllistctrl.cpp
@@ -2545,6 +2545,19 @@ void LLScrollListCtrl::setScrollListParameters(LLXMLNodePtr node)
node->getAttributeS32("column_padding", column_padding);
setColumnPadding(column_padding);
}
+
+ if (node->hasAttribute("mouse_wheel_opaque"))
+ {
+ node->getAttribute_bool("mouse_wheel_opaque", mMouseWheelOpaque);
+ }
+
+ if (node->hasAttribute("menu_file"))
+ {
+ std::string menu_file;
+ node->getAttributeString("menu_file", menu_file);
+ mPopupMenu = LLUICtrlFactory::getInstance()->buildMenu(menu_file, LLMenuGL::sMenuContainer);
+ LLMenuGL::sMenuContainer->addChild(mPopupMenu);
+ }
}
// static
@@ -2579,22 +2592,6 @@ LLView* LLScrollListCtrl::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFac
scroll_list->initFromXML(node, parent);
scroll_list->setSearchColumn(search_column);
- BOOL mouse_wheel_opaque = true;
- node->getAttributeBOOL("mouse_wheel_opaque", mouse_wheel_opaque);
- scroll_list->mMouseWheelOpaque = mouse_wheel_opaque;
-
- std::string tool_tip;
- node->getAttributeString("tool_tip", tool_tip);
- scroll_list->setToolTip(tool_tip);
-
- std::string menu_file;
- if (node->getAttributeString("menu_file", menu_file))
- {
- LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu(menu_file, LLMenuGL::sMenuContainer);
- LLMenuGL::sMenuContainer->addChild(menu);
- scroll_list->setContextMenu(menu);
- }
-
LLSD columns;
S32 index = 0;
for (LLXMLNodePtr child = node->getFirstChild(); child.notNull(); child = child->getNextSibling())
@@ -2634,8 +2631,9 @@ LLView* LLScrollListCtrl::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFac
columns[index]["width"] = columnwidth;
F32 columnrelwidth = 0.f;
- if (child->getAttributeF32("relwidth", columnrelwidth))
- columns[index]["relwidth"] = columnrelwidth;
+ if (child->getAttributeF32("relative_width", columnrelwidth)
+ || child->getAttributeF32("relwidth", columnrelwidth))
+ columns[index]["relative_width"] = columnrelwidth;
BOOL columndynamicwidth = false;
if (child->getAttributeBOOL("dynamic_width", columndynamicwidth)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 3ec2295b5..b283f2973 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -2127,6 +2127,17 @@ This should be as low as possible, but too low may break functionality
Value
1
+ AppearanceCloseOnEscape
+
AppearanceSpecialLighting