Feature Request/Bug Fix: On login, open Local Chat, Communicate, and Contacts if they were open last session.
This commit is contained in:
@@ -102,13 +102,6 @@ LLFloaterChat::~LLFloaterChat()
|
||||
// Children all cleaned up by default view destructor.
|
||||
}
|
||||
|
||||
void LLFloaterChat::setVisible(BOOL visible)
|
||||
{
|
||||
LLFloater::setVisible( visible );
|
||||
|
||||
gSavedSettings.setBOOL("ShowChatHistory", visible);
|
||||
}
|
||||
|
||||
void LLFloaterChat::draw()
|
||||
{
|
||||
// enable say and shout only when text available
|
||||
@@ -140,6 +133,11 @@ BOOL LLFloaterChat::postBuild()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void LLFloaterChat::onOpen()
|
||||
{
|
||||
gSavedSettings.setBOOL("ShowChatHistory", true);
|
||||
}
|
||||
|
||||
// public virtual
|
||||
void LLFloaterChat::onClose(bool app_quitting)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user