summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatervoicedevicesettings.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-11-06 15:16:40 -0800
committerLeyla Farazha <leyla@lindenlab.com>2009-11-06 15:16:40 -0800
commit3fa1e785a6964d672682b9e5c3fcbdda0fa1f8df (patch)
treef10c1aff49e122fc7a63c78074ad2973b7d12c83 /indra/newview/llfloatervoicedevicesettings.cpp
parent0e63920569302a4f6afcbc0feb28ff379e4a4bac (diff)
EXT-1576 "Zoom In" menu option should be disabled when the person is not in range
EXT-2306 Default voice input/output pref panel to closed
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()