summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatervoicedevicesettings.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2009-11-09 13:16:04 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2009-11-09 13:16:04 -0800
commitdc5db676efd340bccd2c6f376c0bcba77e0507c4 (patch)
treeaba1c368d923d106789cddc59b5e4626f048dc44 /indra/newview/llfloatervoicedevicesettings.cpp
parent2b5faa0b9cac3736b9d96a68cd13e05ee39ab7d1 (diff)
parent3b98043d227db07a2396b1fba056e911abd04621 (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()