use new list type in start wizard
[enigma2.git] / data / startwizard.xml
index d3e0642eb8739f93e6712398bf40bc940ca886bc..368b301ea8378295c3f6ae50f4224eb9bd89a97d 100644 (file)
@@ -137,7 +137,7 @@ self["arrowup2"].startMoving()
                                <listentry caption="No" step="end" />
                        </list>
                        <code pos="after">
-if self["list"].getSelectedIndex() == 0:
+if self["list"].index == 0:
        config.ParentalControl.configured.value = True
 else:
        config.ParentalControl.configured.value = False
@@ -152,7 +152,7 @@ config.ParentalControl.configured.save()
                        </list>
                        <code pos="after">
 from ParentalControlSetup import ParentalControlChangePin
-if self["list"].getSelectedIndex() == 0:
+if self["list"].index == 0:
        self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))
                        </code>
                </step>