diff options
author | Richard Nelson <none@none> | 2010-06-07 17:26:50 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-06-07 17:26:50 -0700 |
commit | 25db70c7621a910903e150dbcf995307b8aef9da (patch) | |
tree | 2389f915fb7ab70526d3ba250964e9f09766c60d /indra/llui/llmultifloater.cpp | |
parent | bd254e7079ebd85e0e40ab2bf98cabf15be1ce2c (diff) | |
parent | 9b9a79084c1d6bdee0b8a988b21b0b34512ead49 (diff) |
merge
Diffstat (limited to 'indra/llui/llmultifloater.cpp')
-rw-r--r-- | indra/llui/llmultifloater.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/llmultifloater.cpp b/indra/llui/llmultifloater.cpp index 3aea648562..b1dbce0000 100644 --- a/indra/llui/llmultifloater.cpp +++ b/indra/llui/llmultifloater.cpp @@ -238,6 +238,16 @@ void LLMultiFloater::addFloater(LLFloater* floaterp, BOOL select_added_floater, moveResizeHandlesToFront(); } +void LLMultiFloater::updateFloaterTitle(LLFloater* floaterp) +{ + S32 index = mTabContainer->getIndexForPanel(floaterp); + if (index != -1) + { + mTabContainer->setPanelTitle(index, floaterp->getShortTitle()); + } +} + + /** BOOL selectFloater(LLFloater* floaterp) |