From 870b8777b395b2efcbfd806894b9571d19f6b777 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Tue, 29 Sep 2009 00:47:31 -0700 Subject: Fixed first windlight toolbar entry toggling Advanced Sky --- ChangeLog.txt | 5 +++++ linden/indra/newview/llwindlightremotectrl.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 4932ebe..ff2846d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,10 @@ 2009-09-28 McCabe Maxsted + * Fixed first windlight toolbar entry toggling Advanced Sky. + + modified: linden/indra/newview/llwindlightremotectrl.cpp + + * Renamed ScriptBgReadOnlyColor to ScrollReadOnlyColor so we don't lose it in a merge. modified: linden/indra/newview/llpanelavatar.cpp 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) if (presets) { S32 index = presets->getFirstSelectedIndex(); - if (index <= 0) + if (index < 0) { // Open Advanced Sky LLFloaterWindLight::show(); -- cgit v1.1