moving the list generation to a seperate method
[enigma2.git] / lib / python / Components / Lcd.py
index 8861958..b9ba560 100644 (file)
@@ -19,6 +19,8 @@ class LCD:
                pass
 
        def setInverted(self, value):
+               if value:
+                       value = 255
                eDBoxLCD.getInstance().setInverted(value)
                pass
 
@@ -27,7 +29,7 @@ def InitLcd():
        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, ("Disable", "Enable") );
+       config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (_("Disable"), _("Enable")) );
 
        ilcd = LCD()