diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-03-29 21:17:36 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-03-29 21:17:36 -0400 |
commit | 8ecd02641c87fde51e2cc18f9ee4096d69490771 (patch) | |
tree | 355cb6992d927c76000e3ab33f25cfceaaa48109 /indra/newview | |
parent | 3208104e2e51124fb6ee90133fee328f59e1fddc (diff) |
Fix for labels not showing up in edit params anymore (accidentally took out the code that displayed them).
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llscrollingpanelparam.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llscrollingpanelparam.cpp b/indra/newview/llscrollingpanelparam.cpp index 5310ababba..05b82ba967 100644 --- a/indra/newview/llscrollingpanelparam.cpp +++ b/indra/newview/llscrollingpanelparam.cpp @@ -69,6 +69,11 @@ LLScrollingPanelParam::LLScrollingPanelParam( const LLPanel::Params& panel_param mHintMin->setAllowsUpdates( FALSE ); mHintMax->setAllowsUpdates( FALSE ); + std::string min_name = LLTrans::getString(param->getMinDisplayName()); + std::string max_name = LLTrans::getString(param->getMaxDisplayName()); + getChild<LLUICtrl>("min param text")->setValue(min_name); + getChild<LLUICtrl>("max param text")->setValue(max_name); + LLButton* less = getChild<LLButton>("less"); if (less) { |