X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e5d5efded2cdbc62105ed3742ac3396602e1d564..8d4c6e68e456e6e0a4db27091a7f384854949162:/data/startwizard.xml diff --git a/data/startwizard.xml b/data/startwizard.xml index 402eeef9..d3e0642e 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -30,7 +30,7 @@ self["rc"].startMoving() from Components.NimManager import nimmanager -self.condition = not nimmanager.nim_slots[0].empty +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty @@ -48,7 +48,7 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = not nimmanager.nim_slots[1].empty +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty @@ -66,10 +66,10 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = not nimmanager.nim_slots[2].empty +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty - + self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() @@ -84,10 +84,10 @@ self["arrowdown"].startMoving() from Components.NimManager import nimmanager -self.condition = not nimmanager.nim_slots[3].empty +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty - + self["rc"].moveTo(500, 50, 1) self["rc"].startMoving()