From 6874d42b68d15fa07542bc536535539997d9ba68 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 11 Feb 2008 14:51:43 +0000 Subject: [PATCH 1/1] config entries must be defined globally --- lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2