diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-06-19 12:07:14 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-06-19 12:07:14 +0300 |
commit | 24ebc86b4132284113de57b979ded76ce47dce1c (patch) | |
tree | 95f8d16417d4631655deb79ecd6bad8cff322e70 /indra | |
parent | d760a6889dbe1ca5ff0775343a6a01f735ec740b (diff) |
MAINT-4157 FIXED Lag meter tool tips are missing units
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llui/llstatgraph.cpp | 3 | ||||
-rwxr-xr-x | indra/newview/llstatusbar.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llstatgraph.cpp b/indra/llui/llstatgraph.cpp index a44bc18733..98962aff9a 100755 --- a/indra/llui/llstatgraph.cpp +++ b/indra/llui/llstatgraph.cpp @@ -44,9 +44,10 @@ LLStatGraph::LLStatGraph(const Params& p) : LLView(p), mMin(p.min), mMax(p.max), - mPerSec(true), + mPerSec(p.per_sec), mPrecision(p.precision), mValue(p.value), + mUnits(p.units), mNewStatFloatp(p.stat.count_stat_float) { setToolTip(p.name()); diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 047538a32a..eedb829b48 100755 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -200,6 +200,7 @@ BOOL LLStatusBar::postBuild() sgp.stat.count_stat_float(&LLStatViewer::ACTIVE_MESSAGE_DATA_RECEIVED); sgp.units("Kbps"); sgp.precision(0); + sgp.per_sec(true); mSGBandwidth = LLUICtrlFactory::create<LLStatGraph>(sgp); addChild(mSGBandwidth); x -= SIM_STAT_WIDTH + 2; |