aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Satconfig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py
index 02473aff..09acebdd 100644
--- a/lib/python/Screens/Satconfig.py
+++ b/lib/python/Screens/Satconfig.py
@@ -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