enter setup if nim is detected as useable only
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 7 Oct 2005 12:16:33 +0000 (12:16 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 7 Oct 2005 12:16:33 +0000 (12:16 +0000)
lib/python/Screens/Satconfig.py

index 02473af..09acebd 100644 (file)
@@ -95,5 +95,6 @@ class NimSelection(Screen):
 
        def okbuttonClick(self):
                selection = self["nimlist"].getCurrent()
-               self.session.open(NimSetup, selection[1])
-               pass
+               if selection[1].nimType != -1:  #unknown/empty
+                       self.session.open(NimSetup, selection[1])
+       
\ No newline at end of file