config entries must be defined globally
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / Videomode / VideoWizard.py
index 378bf20..5524dfc 100644 (file)
@@ -5,6 +5,8 @@ from VideoHardware import video_hw
 from Components.Pixmap import Pixmap, MovingPixmap
 from Components.config import config, ConfigBoolean, configfile
 
+config.misc.showtestcard = ConfigBoolean(default = False)
+
 class VideoWizard(Wizard):
        skin = """
                <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder" >
@@ -36,7 +38,6 @@ class VideoWizard(Wizard):
                self.port = None
                self.mode = None
                
-               config.misc.showtestcard = ConfigBoolean(default = False)
                
        def createSummary(self):
                print "++++++++++++***++**** VideoWizard-createSummary"
@@ -121,4 +122,4 @@ class VideoWizard(Wizard):
                if selection == "yes":
                        config.misc.showtestcard.value = True
                else:
-                       config.misc.showtestcard.value = False
\ No newline at end of file
+                       config.misc.showtestcard.value = False