Skip to content
Snippets Groups Projects
Commit a1f21c96 authored by Richard Nelson's avatar Richard Nelson
Browse files

EXT-7700 - Script error window shows [All Scripts] for every tab

reviewed by Mani
parent d50ab8b5
No related branches found
No related tags found
No related merge requests found
......@@ -810,6 +810,11 @@ void LLFloater::applyTitle()
{
mDragHandle->setTitle ( mTitle );
}
if (getHost())
{
getHost()->updateFloaterTitle(this);
}
}
std::string LLFloater::getCurrentTitle() const
......
......@@ -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)
......
......@@ -80,6 +80,7 @@ class LLMultiFloater : public LLFloater
void onTabSelected();
virtual void updateResizeLimits();
virtual void updateFloaterTitle(LLFloater* floaterp);
protected:
struct LLFloaterData
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment