X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/87374b339c348859887803383b571cb12a40d5d3..d2ceae9583bc62daa872c316f8952b9a6a416a69:/lib/python/Components/Lcd.py diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py index 9dc80e97..42f15698 100644 --- a/lib/python/Components/Lcd.py +++ b/lib/python/Components/Lcd.py @@ -19,6 +19,8 @@ class LCD: pass def setInverted(self, value): + if value: + value = 255 eDBoxLCD.getInstance().setInverted(value) pass @@ -26,7 +28,7 @@ def InitLcd(): config.lcd = ConfigSubsection(); config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, ""); config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, ""); - config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 1, ""); + config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, ""); config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, ("Disable", "Enable") ); ilcd = LCD() @@ -44,4 +46,5 @@ def InitLcd(): config.lcd.contrast.addNotifier(setLCDcontrast); config.lcd.invert.addNotifier(setLCDinverted); + \ No newline at end of file