mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- vfd: re-add by mistake removed setting "off" for statusbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -429,6 +429,9 @@ void CVFD::showVolume(const char vol, const bool force_update)
|
||||
return;
|
||||
volume = vol;
|
||||
|
||||
if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 2 /* off */)
|
||||
return;
|
||||
|
||||
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
||||
if (!allowed_mode)
|
||||
return;
|
||||
@@ -467,6 +470,9 @@ void CVFD::showPercentOver(const unsigned char perc, const bool /*perform_update
|
||||
if (mode == MODE_AUDIO && origin != MODE_AUDIO) // exclusive access for audio mode
|
||||
return;
|
||||
|
||||
if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 2 /* off */)
|
||||
return;
|
||||
|
||||
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
||||
if (!allowed_mode)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user