summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatervoicedevicesettings.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-11-06 15:29:32 -0800
committerLeyla Farazha <leyla@lindenlab.com>2009-11-06 15:29:32 -0800
commit1c40cf8225013ac31d70b46b5cdec0b5df147889 (patch)
tree902a8b54bf2333c16c831707f0f35009857ecddf /indra/newview/llfloatervoicedevicesettings.cpp
parent4b9abdc83351b5d79f958cf13fa612a28c71bc04 (diff)
parent3fa1e785a6964d672682b9e5c3fcbdda0fa1f8df (diff)
merge
Diffstat (limited to 'indra/newview/llfloatervoicedevicesettings.cpp')
-rw-r--r--indra/newview/llfloatervoicedevicesettings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp
index bbeb287171..43024a4bd0 100644
--- a/indra/newview/llfloatervoicedevicesettings.cpp
+++ b/indra/newview/llfloatervoicedevicesettings.cpp
@@ -95,6 +95,9 @@ void LLPanelVoiceDeviceSettings::handleVisibilityChange ( BOOL new_visibility )
else
{
cleanup();
+ // when closing this window, turn of visiblity control so that
+ // next time preferences is opened we don't suspend voice
+ gSavedSettings.setBOOL("ShowDeviceSettings", FALSE);
}
}
void LLPanelVoiceDeviceSettings::draw()