small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 8 Jan 2007 11:56:57 +0000 (11:56 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 8 Jan 2007 11:56:57 +0000 (11:56 +0000)
lib/python/Screens/ParentalControlSetup.py

index cde1f7c264d45d5d79cf743e2658ca465f5848aa..38c937faac181f1475677f9d1ecad3d5c1f6d0df 100644 (file)
@@ -51,7 +51,7 @@ class ParentalControlSetup(Screen, ConfigListScreen, ProtectedScreen):
                }, -2)
 
        def isProtected(self):
                }, -2)
 
        def isProtected(self):
-               return config.ParentalControl.setuppinactive.value
+               return config.ParentalControl.setuppinactive.value and config.ParentalControl.configured.value
        
        def createSetup(self):
                self.editListEntry = None
        
        def createSetup(self):
                self.editListEntry = None