diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 19:48:02 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 19:48:02 -0800 |
commit | a183fb9f5efd5c49a0da7442dd8b7202db6167e7 (patch) | |
tree | e5993a2de9a78d0d864c29c915e7490c31af2419 /indra/llui/lluictrlfactory.cpp | |
parent | e5c9fe005e2533b10ad9eeeec9041171f15247d0 (diff) |
fix for gcc build
Diffstat (limited to 'indra/llui/lluictrlfactory.cpp')
-rw-r--r-- | indra/llui/lluictrlfactory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lluictrlfactory.cpp b/indra/llui/lluictrlfactory.cpp index 625d3c63e5..40b22f515a 100644 --- a/indra/llui/lluictrlfactory.cpp +++ b/indra/llui/lluictrlfactory.cpp @@ -396,6 +396,7 @@ BOOL LLUICtrlFactory::getAttributeColor(LLXMLNodePtr node, const std::string& na //static void LLUICtrlFactory::setCtrlParent(LLView* view, LLView* parent, S32 tab_group) { + if (tab_group == S32_MAX) tab_group = parent->getLastTabGroup(); parent->addChild(view, tab_group); } |