summaryrefslogtreecommitdiff
path: root/indra/llui/llmultifloater.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-06-07 16:49:06 -0700
committerRichard Nelson <none@none>2010-06-07 16:49:06 -0700
commita1f21c968e3791bd8c613bc7b5073789b1bcc0d7 (patch)
tree7a5340fcfe560822bc54d0cb642d84002dfab0b3 /indra/llui/llmultifloater.cpp
parentd50ab8b58a45c55888ddebbb77ec0a2209d286a5 (diff)
EXT-7700 - Script error window shows [All Scripts] for every tab
reviewed by Mani
Diffstat (limited to 'indra/llui/llmultifloater.cpp')
-rw-r--r--indra/llui/llmultifloater.cpp10
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)