diff options
author | McCabe Maxsted | 2009-09-13 05:48:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-13 05:48:24 -0700 |
commit | f695f6c25c13652fa2253c36c92bd28ae6415fd8 (patch) | |
tree | 160179c5b8f732169e27642be03cd69d6fa73912 /linden/indra/newview/llfloaterwindlight.cpp | |
parent | Clarified 'show in search' in profile (diff) | |
download | meta-impy-f695f6c25c13652fa2253c36c92bd28ae6415fd8.zip meta-impy-f695f6c25c13652fa2253c36c92bd28ae6415fd8.tar.gz meta-impy-f695f6c25c13652fa2253c36c92bd28ae6415fd8.tar.bz2 meta-impy-f695f6c25c13652fa2253c36c92bd28ae6415fd8.tar.xz |
Fixed windlight toolbar not updating windlight floater pulldown
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterwindlight.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterwindlight.cpp b/linden/indra/newview/llfloaterwindlight.cpp index 43e8e1e..1c3db9b 100644 --- a/linden/indra/newview/llfloaterwindlight.cpp +++ b/linden/indra/newview/llfloaterwindlight.cpp | |||
@@ -439,6 +439,14 @@ void LLFloaterWindLight::syncMenu() | |||
439 | childSetValue("WLGamma", param_mgr->mWLGamma.x); | 439 | childSetValue("WLGamma", param_mgr->mWLGamma.x); |
440 | 440 | ||
441 | childSetValue("WLStarAlpha", param_mgr->mCurParams.getStarBrightness()); | 441 | childSetValue("WLStarAlpha", param_mgr->mCurParams.getStarBrightness()); |
442 | |||
443 | // Update combobox name | ||
444 | LLComboBox* comboBox = getChild<LLComboBox>("WLPresetsCombo"); | ||
445 | std::string current_name = param_mgr->mCurPresetName; | ||
446 | if (!current_name.empty() && current_name != comboBox->getSelectedValue().asString()) | ||
447 | { | ||
448 | comboBox->selectByValue(LLSD(current_name)); | ||
449 | } | ||
442 | } | 450 | } |
443 | 451 | ||
444 | 452 | ||