X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c06f79c0451ca844f89809058a2767a1a319b137..63f8fba0e343ed772e81ce4015583e33a6bdc6e0:/lib/python/Components/Lcd.py diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py index 77975f4d..552d5485 100644 --- a/lib/python/Components/Lcd.py +++ b/lib/python/Components/Lcd.py @@ -21,15 +21,14 @@ class LCD: def setInverted(self, value): if value: value = 255 - eDBoxLCD.getInstance().setInverted(1 - value) - pass + eDBoxLCD.getInstance().setInverted(value) 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, 0, "") - config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (("enable", _("Enable")), ("disable", _("Disable")))) + config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (("disable", _("Disable")), ("enable", _("Enable")))) ilcd = LCD() @@ -47,4 +46,4 @@ def InitLcd(): config.lcd.invert.addNotifier(setLCDinverted); - \ No newline at end of file +