Make overlay chat bar hide on send even if close on chat is not selected.
parent
450111a2c0
commit
b29f05217a
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue