From 79da420aa414522f8b5477053f0b46e6311f1cc1 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 7 Oct 2008 09:00:00 +0000 Subject: [PATCH] Wizard shouldn't be a subclass of HelpableScreen since there is no help available (prevents crash) pressing help while in videowizard could also lead to invisible GUI so each wizard should implement help for itself to fit its specific needs --- lib/python/Screens/Wizard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index ab1f188b..dfb28e24 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -45,7 +45,7 @@ class WizardSummary(Screen): def setText(self, text): self["text"].setText(text) -class Wizard(Screen, HelpableScreen): +class Wizard(Screen): def createSummary(self): print "WizardCreateSummary" return WizardSummary @@ -150,7 +150,6 @@ class Wizard(Screen, HelpableScreen): def __init__(self, session, showSteps = True, showStepSlider = True, showList = True, showConfig = True): Screen.__init__(self, session) - HelpableScreen.__init__(self) self.stepHistory = [] -- 2.30.2