don't show display setup on hardware without LCD
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 24 May 2009 23:39:10 +0000 (01:39 +0200)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 24 May 2009 23:39:10 +0000 (01:39 +0200)
data/setup.xml

index 583850d..d8d5836 100644 (file)
@@ -98,7 +98,7 @@
                        <item text="Brightness">config.osd.bright</item>
                        <item text="Contrast">config.osd.contrast</item>
                </setup>
                        <item text="Brightness">config.osd.bright</item>
                        <item text="Contrast">config.osd.contrast</item>
                </setup>
-               <setup key="lcd" title="Display Setup">
+               <setup key="lcd" title="Display Setup" requires="FrontpanelDisplay">
                        <item level="0" text="Brightness">config.lcd.bright</item>
                        <item level="0" text="Contrast">config.lcd.contrast</item>
                        <item level="0" text="Standby">config.lcd.standby</item>
                        <item level="0" text="Brightness">config.lcd.bright</item>
                        <item level="0" text="Contrast">config.lcd.contrast</item>
                        <item level="0" text="Standby">config.lcd.standby</item>