From: Felix Domke Date: Mon, 11 Feb 2008 14:51:43 +0000 (+0000) Subject: config entries must be defined globally X-Git-Tag: 2.6.0~1553 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/6874d42b68d15fa07542bc536535539997d9ba68 config entries must be defined globally --- diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index 378bf207..5524dfce 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -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 = """ @@ -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