mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
CSignalBar: use correct initial value
This should fix wrong values if signal = 0.
This commit is contained in:
@@ -140,7 +140,7 @@ void CSignalBar::initSBarValue()
|
|||||||
//create value label object with basic properties
|
//create value label object with basic properties
|
||||||
if (sb_vlbl == NULL){
|
if (sb_vlbl == NULL){
|
||||||
sb_vlbl = new CComponentsLabel();
|
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);
|
sb_vlbl->doPaintBg(false);
|
||||||
|
Reference in New Issue
Block a user