summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterconversationlog.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-12-15 20:37:18 +0200
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-12-15 20:37:18 +0200
commit64dffe46118f9c435115edd2b714a0314242e752 (patch)
tree51da5c0aea2592da5978cd7d4863d5af9d9a9aec /indra/newview/llfloaterconversationlog.cpp
parent01bdfb3ecb88ce71078494274a8d7835d181c50e (diff)
CHUI-598 : Fixed : Conversation log file created even when keep conversation log preference is off :
Checked the status of the another ("KeepConversationLogTranscripts") setting too.
Diffstat (limited to 'indra/newview/llfloaterconversationlog.cpp')
-rw-r--r--indra/newview/llfloaterconversationlog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterconversationlog.cpp b/indra/newview/llfloaterconversationlog.cpp
index 089aec1905..a40a000bab 100644
--- a/indra/newview/llfloaterconversationlog.cpp
+++ b/indra/newview/llfloaterconversationlog.cpp
@@ -67,7 +67,8 @@ BOOL LLFloaterConversationLog::postBuild()
if (ctrl)
{
ctrl->getSignal()->connect(boost::bind(&LLFloaterConversationLog::onCallLoggingEnabledDisabled, this, _2));
- onCallLoggingEnabledDisabled(ctrl->getValue().asBoolean());
+ onCallLoggingEnabledDisabled(ctrl->getValue().asBoolean()
+ && gSavedSettings.getBOOL("KeepConversationLogTranscripts"));
}
return LLFloater::postBuild();