diff options
author | McCabe Maxsted | 2010-04-26 20:45:39 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-04-26 20:45:39 -0700 |
commit | 4b53fd0517dd4bf1c3c0c1d9a094749be4cc761d (patch) | |
tree | 8a6ff9bba5303da89705008b3e78428770083057 /linden/indra/llui/llspinctrl.cpp | |
parent | Ported currency changes from Hippo (#237) and fixed some labels Hippo missed ... (diff) | |
download | meta-impy-4b53fd0517dd4bf1c3c0c1d9a094749be4cc761d.zip meta-impy-4b53fd0517dd4bf1c3c0c1d9a094749be4cc761d.tar.gz meta-impy-4b53fd0517dd4bf1c3c0c1d9a094749be4cc761d.tar.bz2 meta-impy-4b53fd0517dd4bf1c3c0c1d9a094749be4cc761d.tar.xz |
Added missing setLabelArg to LLSpinCtrl (silly Lindens...)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llspinctrl.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/llui/llspinctrl.cpp b/linden/indra/llui/llspinctrl.cpp index 2992f98..760fbfd 100644 --- a/linden/indra/llui/llspinctrl.cpp +++ b/linden/indra/llui/llspinctrl.cpp | |||
@@ -402,6 +402,18 @@ void LLSpinCtrl::setLabel(const LLStringExplicit& label) | |||
402 | } | 402 | } |
403 | } | 403 | } |
404 | 404 | ||
405 | BOOL LLSpinCtrl::setLabelArg( const std::string& key, const LLStringExplicit& text ) | ||
406 | { | ||
407 | if (mLabelBox) | ||
408 | { | ||
409 | BOOL res = mLabelBox->setTextArg(key, text); | ||
410 | reshape(getRect().getWidth(), getRect().getHeight(), FALSE); | ||
411 | return res; | ||
412 | } | ||
413 | return FALSE; | ||
414 | } | ||
415 | |||
416 | |||
405 | void LLSpinCtrl::setAllowEdit(BOOL allow_edit) | 417 | void LLSpinCtrl::setAllowEdit(BOOL allow_edit) |
406 | { | 418 | { |
407 | mEditor->setEnabled(allow_edit); | 419 | mEditor->setEnabled(allow_edit); |