summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.h
diff options
context:
space:
mode:
authorpaul_productengine <none@none>2011-01-27 18:03:00 +0200
committerpaul_productengine <none@none>2011-01-27 18:03:00 +0200
commitc07c6cf8f4979a3374a09cec12e92df619ffd501 (patch)
tree3b0bd4d38e8e656c9ea06b517d355712ff5a590c /indra/newview/llfloaterpreference.h
parent3eba59e963d87f54e1b33b0a34de3fe37e67ebe1 (diff)
STORM-513 FIXED "Allow media to auto - play" check-box is enable after Media check-box was unchecked
- Disabling "Allow Media to auto play" check box only when both "Streaming Music" and "Media" are unchecked
Diffstat (limited to 'indra/newview/llfloaterpreference.h')
-rw-r--r--indra/newview/llfloaterpreference.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.h b/indra/newview/llfloaterpreference.h
index 784033ae95..46014804ec 100644
--- a/indra/newview/llfloaterpreference.h
+++ b/indra/newview/llfloaterpreference.h
@@ -189,6 +189,10 @@ public:
void setControlFalse(const LLSD& user_data);
virtual void setHardwareDefaults(){};
+ // Disables "Allow Media to auto play" check box only when both
+ // "Streaming Music" and "Media" are unchecked. Otherwise enables it.
+ void updateMediaAutoPlayCheckbox(LLUICtrl* ctrl);
+
// This function squirrels away the current values of the controls so that
// cancel() can restore them.
virtual void saveSettings();