fix something
[enigma2.git] / lib / python / Components / ConditionalWidget.py
index 8d4af30..3d855b2 100644 (file)
@@ -57,11 +57,12 @@ class ConditionalWidget(Widget):
                if (self.conditionalFunction != None):
                        try:
                                self.conditionalFunction() # check, if the conditionalfunction is still valid
+                               self.activateCondition(self.conditionalFunction())
                        except:
                                self.conditionalFunction = None
                                self.activateCondition(False)
                        
-                       self.activateCondition(self.conditionalFunction())
+