summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-18 15:01:36 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-18 15:01:36 +0200
commit7f63b36977107f5bbfc1a1682cb91fea3985fef4 (patch)
tree1d0d5a1d62c4d8d794c3f5c42ee8dcb10ceedba3
parentfdd55c279e303ffe86d715c697db595c89071703 (diff)
CHUI-775 FIXED We should always handle changing of preferences.
-rw-r--r--indra/newview/llconversationlog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llconversationlog.cpp b/indra/newview/llconversationlog.cpp
index 23a98fa136..fc3bc8551c 100644
--- a/indra/newview/llconversationlog.cpp
+++ b/indra/newview/llconversationlog.cpp
@@ -192,11 +192,11 @@ LLConversationLog::LLConversationLog() :
{
LLControlVariable * keep_log_ctrlp = gSavedPerAccountSettings.getControl("KeepConversationLogTranscripts").get();
S32 log_mode = keep_log_ctrlp->getValue();
-
+ keep_log_ctrlp->getSignal()->connect(boost::bind(&LLConversationLog::enableLogging, this, _2));
if (log_mode > 0)
{
loadFromFile(getFileName());
- keep_log_ctrlp->getSignal()->connect(boost::bind(&LLConversationLog::enableLogging, this, _2));
+
enableLogging(log_mode);
}
}