STORM-1888 fix, hide spellchecker settings floater when closing the preferences floater

Cinders 2013-05-22 21:45:39 -06:00
parent ee10e08648
commit 1ae52b3354
1 changed files with 6 additions and 1 deletions

View File

@ -838,9 +838,14 @@ void LLFloaterPreference::cancel()
// hide translation settings floater
LLFloaterReg::hideInstance("prefs_translation");
// hide translation settings floater
// hide autoreplace settings floater
LLFloaterReg::hideInstance("prefs_autoreplace");
// <FS:CR> STORM-1888
// hide spellchecker settings floater
LLFloaterReg::hideInstance("prefs_spellchecker");
// </FS:CR>
// cancel hardware menu
LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");
if (hardware_settings)