From 0ddfdad18083bc41c9a13a13885a84e6542232ba Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 16 Jan 2019 16:46:12 -0500 Subject: [PATCH] Fix ShowMutedChat setting not properly restoring. --- indra/newview/llfloaterchat.cpp | 2 -- .../newview/skins/default/xui/en-us/floater_chat_history.xml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp index 57b2da648..65e17c5a7 100644 --- a/indra/newview/llfloaterchat.cpp +++ b/indra/newview/llfloaterchat.cpp @@ -339,8 +339,6 @@ void LLFloaterChat::setHistoryCursorAndScrollToEnd() //static void LLFloaterChat::onClickToggleShowMute(bool show_mute, LLTextEditor* history_editor, LLTextEditor* history_editor_with_mute) { - history_editor->setVisible(!show_mute); - history_editor_with_mute->setVisible(show_mute); (show_mute ? history_editor_with_mute : history_editor)->setCursorAndScrollToEnd(); } diff --git a/indra/newview/skins/default/xui/en-us/floater_chat_history.xml b/indra/newview/skins/default/xui/en-us/floater_chat_history.xml index 817a8b9d4..1c34ab977 100644 --- a/indra/newview/skins/default/xui/en-us/floater_chat_history.xml +++ b/indra/newview/skins/default/xui/en-us/floater_chat_history.xml @@ -19,8 +19,8 @@