summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersettingsdebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersettingsdebug.cpp')
-rw-r--r--indra/newview/llfloatersettingsdebug.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloatersettingsdebug.cpp b/indra/newview/llfloatersettingsdebug.cpp
index f6002653ab..2677467611 100644
--- a/indra/newview/llfloatersettingsdebug.cpp
+++ b/indra/newview/llfloatersettingsdebug.cpp
@@ -61,7 +61,10 @@ BOOL LLFloaterSettingsDebug::postBuild()
f(LLComboBox* c) : combo(c) {}
virtual void apply(const std::string& name, LLControlVariable* control)
{
- combo->add(name, (void*)control);
+ if (!control->isHiddenFromSettingsEditor())
+ {
+ combo->add(name, (void*)control);
+ }
}
} func(settings_combo);