aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-10-16 23:10:52 -0700
committerMcCabe Maxsted2010-10-16 23:10:52 -0700
commit52693c7a5551c00565dc2edef5a5df85b558b752 (patch)
tree294d7534a9d1b66d0edae08a9d90310c79aeea5b
parentAdded detection for Python 2.7 (currently untested) (diff)
downloadmeta-impy-52693c7a5551c00565dc2edef5a5df85b558b752.zip
meta-impy-52693c7a5551c00565dc2edef5a5df85b558b752.tar.gz
meta-impy-52693c7a5551c00565dc2edef5a5df85b558b752.tar.bz2
meta-impy-52693c7a5551c00565dc2edef5a5df85b558b752.tar.xz
Select the correct preset when the windlight toolbar is first built
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llwindlightremotectrl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/llwindlightremotectrl.cpp b/linden/indra/newview/llwindlightremotectrl.cpp
index 5a6b35d..b9111d3 100644
--- a/linden/indra/newview/llwindlightremotectrl.cpp
+++ b/linden/indra/newview/llwindlightremotectrl.cpp
@@ -121,6 +121,7 @@ BOOL LLWindlightRemoteCtrl::postBuild()
121 LLComboBox* presetsCombo = getChild<LLComboBox>("Presets"); 121 LLComboBox* presetsCombo = getChild<LLComboBox>("Presets");
122 if (presetsCombo) 122 if (presetsCombo)
123 { 123 {
124 presetsCombo->setSimple(LLWLParamManager::instance()->mCurParams.mName);
124 presetsCombo->setCommitCallback(onCommitPreset); 125 presetsCombo->setCommitCallback(onCommitPreset);
125 presetsCombo->setCallbackUserData(this); 126 presetsCombo->setCallbackUserData(this);
126 127