summaryrefslogtreecommitdiff
path: root/indra/llui/llpanel.cpp
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2009-10-06 20:03:04 +0000
committerRichard Nelson <richard@lindenlab.com>2009-10-06 20:03:04 +0000
commitebdbdc42f801bc26f3f80252d7ea36e9bfd29d51 (patch)
tree57e846855ff23c566ddb47e81aa10506d8a112bf /indra/llui/llpanel.cpp
parent0e9968387ca1a787fccbff38c663ad09ed307b86 (diff)
EXT-1013 - tab ordering is inconsistent in the preferences window
reviewed by James
Diffstat (limited to 'indra/llui/llpanel.cpp')
-rw-r--r--indra/llui/llpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp
index 1695aee2b8..69ff3dddc3 100644
--- a/indra/llui/llpanel.cpp
+++ b/indra/llui/llpanel.cpp
@@ -522,7 +522,7 @@ BOOL LLPanel::initPanelXML(LLXMLNodePtr node, LLView *parent, LLXMLNodePtr outpu
// be built/added. JC
if (parent)
{
- S32 tab_group = params.tab_group.isProvided() ? params.tab_group() : -1;
+ S32 tab_group = params.tab_group.isProvided() ? params.tab_group() : parent->getLastTabGroup();
parent->addChild(this, tab_group);
}