Make overlay chat bar hide on send even if close on chat is not selected.

ziree 2011-09-28 19:55:32 +02:00
parent 450111a2c0
commit b29f05217a
2 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ void LLChatBar::sendChat( EChatType type )
// If the user wants to stop chatting on hitting return, lose focus
// and go out of chat mode.
if (gChatBar == this && gSavedSettings.getBOOL("CloseChatOnReturn"))
if (gChatBar == this && (gSavedSettings.getBOOL("CloseChatOnReturn") || gSavedSettings.getBOOL("AutohideChatBar")))
{
stopChat();
}

View File

@ -784,7 +784,7 @@ void LLNearbyChatBar::sendChat( EChatType type )
// If the user wants to stop chatting on hitting return, lose focus
// and go out of chat mode.
if (gSavedSettings.getBOOL("CloseChatOnReturn"))
if (gSavedSettings.getBOOL("CloseChatOnReturn") || gSavedSettings.getBOOL("AutohideChatBar"))
{
stopChat();
}