CSignalBar: use correct initial value

This should fix wrong values if signal = 0.
This commit is contained in:
Thilo Graf
2016-06-02 20:34:51 +02:00
parent 137598d368
commit ff3f44d4d2

View File

@@ -140,7 +140,7 @@ void CSignalBar::initSBarValue()
//create value label object with basic properties
if (sb_vlbl == NULL){
sb_vlbl = new CComponentsLabel();
sb_vlbl->setText(REF_PERCENT_TXT, sb_val_mode, sb_font);
sb_vlbl->setText("0%", sb_val_mode, sb_font);
}
sb_vlbl->doPaintBg(false);