EXT-7700 - Script error window shows [All Scripts] for every tab
reviewed by Manimaster
parent
d50ab8b58a
commit
a1f21c968e
|
|
@ -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 @@ public:
|
|||
void onTabSelected();
|
||||
|
||||
virtual void updateResizeLimits();
|
||||
virtual void updateFloaterTitle(LLFloater* floaterp);
|
||||
|
||||
protected:
|
||||
struct LLFloaterData
|
||||
|
|
|
|||
Loading…
Reference in New Issue