enter setup if nim is detected as useable only
[enigma2.git] / lib / python / Screens / Satconfig.py
index 02473aff7b685192605a7c1a637dc26a66bbd59b..09acebdd3732da8bad18834799d9a806c6ec72ac 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