mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
CSignalBar: use correct initial value
This should fix wrong values if signal = 0.
Origin commit data
------------------
Branch: ni/coolstream
Commit: ff3f44d4d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-02 (Thu, 02 Jun 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user