aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwindlightremotectrl.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-29 00:47:31 -0700
committerMcCabe Maxsted2009-09-29 00:47:31 -0700
commit870b8777b395b2efcbfd806894b9571d19f6b777 (patch)
treea3cba89aed68504a15f5dcdaea6f04b6af391e10 /linden/indra/newview/llwindlightremotectrl.cpp
parentRenamed ScriptBgReadOnlyColor to ScrollReadOnlyColor so we don't lose it in a... (diff)
downloadmeta-impy-870b8777b395b2efcbfd806894b9571d19f6b777.zip
meta-impy-870b8777b395b2efcbfd806894b9571d19f6b777.tar.gz
meta-impy-870b8777b395b2efcbfd806894b9571d19f6b777.tar.bz2
meta-impy-870b8777b395b2efcbfd806894b9571d19f6b777.tar.xz
Fixed first windlight toolbar entry toggling Advanced Sky
Diffstat (limited to 'linden/indra/newview/llwindlightremotectrl.cpp')
-rw-r--r--linden/indra/newview/llwindlightremotectrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llwindlightremotectrl.cpp b/linden/indra/newview/llwindlightremotectrl.cpp
index 510e1df..ae9a90a 100644
--- a/linden/indra/newview/llwindlightremotectrl.cpp
+++ b/linden/indra/newview/llwindlightremotectrl.cpp
@@ -181,7 +181,7 @@ void LLWindlightRemoteCtrl::onCommitPreset(LLUICtrl* ctrl, void* data)
181 if (presets) 181 if (presets)
182 { 182 {
183 S32 index = presets->getFirstSelectedIndex(); 183 S32 index = presets->getFirstSelectedIndex();
184 if (index <= 0) 184 if (index < 0)
185 { 185 {
186 // Open Advanced Sky 186 // Open Advanced Sky
187 LLFloaterWindLight::show(); 187 LLFloaterWindLight::show();