aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llprefsadvanced.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp
index 7fa694c..de39e01 100644
--- a/linden/indra/newview/llprefsadvanced.cpp
+++ b/linden/indra/newview/llprefsadvanced.cpp
@@ -53,6 +53,7 @@ LLPrefsAdvanced::LLPrefsAdvanced()
53 sInstance = this; 53 sInstance = this;
54 54
55 childSetCommitCallback("speed_rez_check", onCommitCheckBox, this); 55 childSetCommitCallback("speed_rez_check", onCommitCheckBox, this);
56 childSetCommitCallback("command_line_check", onCommitCheckBox, this);
56 57
57 childSetAction("reset_btn", onClickResetPrefs, this); 58 childSetAction("reset_btn", onClickResetPrefs, this);
58 childSetAction("command_line_btn", onClickCommandLine, this); 59 childSetAction("command_line_btn", onClickCommandLine, this);
@@ -216,6 +217,15 @@ void LLPrefsAdvanced::refresh()
216 childDisable("speed_rez_seconds_text"); 217 childDisable("speed_rez_seconds_text");
217 } 218 }
218 219
220 if (childGetValue("command_line_check").asBoolean())
221 {
222 childEnable("command_line_btn");
223 }
224 else
225 {
226 childDisable("command_line_btn");
227 }
228
219 LLComboBox* comboBox = getChild<LLComboBox>("EmeraldSpellBase"); 229 LLComboBox* comboBox = getChild<LLComboBox>("EmeraldSpellBase");
220 if(comboBox != NULL) 230 if(comboBox != NULL)
221 { 231 {