From 702410cef75e0cc10258964b86b093f2205ef462 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Fri, 9 Dec 2011 17:59:29 +0200 Subject: EXP-1671 FIXED Enable/disable the translation checkbox in the nearby chat floater whenever translation preferences change. The checkbox is also updated when the nearby chat floater is opened. --- indra/newview/llfloatertranslationsettings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llfloatertranslationsettings.cpp') diff --git a/indra/newview/llfloatertranslationsettings.cpp b/indra/newview/llfloatertranslationsettings.cpp index 959edff713..428a02e9f0 100644 --- a/indra/newview/llfloatertranslationsettings.cpp +++ b/indra/newview/llfloatertranslationsettings.cpp @@ -29,6 +29,7 @@ #include "llfloatertranslationsettings.h" // Viewer includes +#include "llnearbychatbar.h" #include "lltranslate.h" #include "llviewercontrol.h" // for gSavedSettings @@ -292,5 +293,6 @@ void LLFloaterTranslationSettings::onBtnOK() gSavedSettings.setString("TranslationService", getSelectedService()); gSavedSettings.setString("BingTranslateAPIKey", getEnteredBingKey()); gSavedSettings.setString("GoogleTranslateAPIKey", getEnteredGoogleKey()); + LLNearbyChatBar::getInstance()->enableTranslationCheckbox(LLTranslate::isTranslationConfigured()); closeFloater(false); } -- cgit v1.2.3