From 52693c7a5551c00565dc2edef5a5df85b558b752 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 16 Oct 2010 23:10:52 -0700 Subject: Select the correct preset when the windlight toolbar is first built --- linden/indra/newview/llwindlightremotectrl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'linden/indra') 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() LLComboBox* presetsCombo = getChild("Presets"); if (presetsCombo) { + presetsCombo->setSimple(LLWLParamManager::instance()->mCurParams.mName); presetsCombo->setCommitCallback(onCommitPreset); presetsCombo->setCallbackUserData(this); -- cgit v1.1