summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCinders <cinder@cinderblocks.biz>2013-05-22 21:43:32 -0600
committerCinders <cinder@cinderblocks.biz>2013-05-22 21:43:32 -0600
commit4cf16ffdfbb166fbb3fcf1d7950ca1a240c94ca1 (patch)
treef08a7f3b618f5ace30dfbcbcdd21290cc115c23e /indra
parent0ebcb7e3fd1452d42b5ca48139f99a4fd632d235 (diff)
STORM-1888: Hide Spellchecker Settings floater when Preferences floater is closed
Bonus: Correct the immediately preceding auto replace comment
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloaterpreference.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index bbf88060c1..fde98aae9a 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -617,9 +617,12 @@ void LLFloaterPreference::cancel()
// hide translation settings floater
LLFloaterReg::hideInstance("prefs_translation");
- // hide translation settings floater
+ // hide autoreplace settings floater
LLFloaterReg::hideInstance("prefs_autoreplace");
+ // hide spellchecker settings folder
+ LLFloaterReg::hideInstance("prefs_spellchecker");
+
// cancel hardware menu
LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");
if (hardware_settings)