aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwindlightremotectrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwindlightremotectrl.cpp')
-rw-r--r--linden/indra/newview/llwindlightremotectrl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llwindlightremotectrl.cpp b/linden/indra/newview/llwindlightremotectrl.cpp
index 20de2f5..f9fb7ba 100644
--- a/linden/indra/newview/llwindlightremotectrl.cpp
+++ b/linden/indra/newview/llwindlightremotectrl.cpp
@@ -137,6 +137,8 @@ BOOL LLWindlightRemoteCtrl::postBuild()
137 137
138void LLWindlightRemoteCtrl::refreshPresets() 138void LLWindlightRemoteCtrl::refreshPresets()
139{ 139{
140 // Just in case, let's not ever crash here
141 mPresetsCombo = getChild<LLComboBox>("Presets");
140 if (mPresetsCombo) 142 if (mPresetsCombo)
141 { 143 {
142 // snag current preset 144 // snag current preset