Fix crash when closing setup screen with prevously inactive KiddyTimer
authorTorsten Link <tode@users.schwerkraft.elitedvb.net>
Tue, 9 Mar 2010 20:02:09 +0000 (20:02 +0000)
committerTorsten Link <tode@users.schwerkraft.elitedvb.net>
Tue, 9 Mar 2010 20:02:09 +0000 (20:02 +0000)
kiddytimer/CONTROL/control
kiddytimer/src/KTglob.py
kiddytimer/src/KTsetup.py

index 85472d9..c92beca 100644 (file)
@@ -1,5 +1,5 @@
 Package: enigma2-plugin-extensions-kiddytimer
-Version: 0.8a-20100302-r0
+Version: 0.8b-20100309-r0
 Description: Allows to control the Kids' daily TV usage
 Architecture: mipsel
 Section: extra
index 02a6adf..47427a8 100644 (file)
@@ -2,7 +2,7 @@ from __init__ import _
 import time
 
 PLUGIN_BASE = "KiddyTimer"
-PLUGIN_VERSION = "0.8a"
+PLUGIN_VERSION = "0.8b"
 
 DAYNAMES= (_("Sunday"),
           _("Monday"),
index 1df568b..90b453e 100644 (file)
@@ -72,6 +72,8 @@ class KiddyTimerSetup(ConfigListScreen, Screen, ProtectedScreen):
         if oKiddyTimer.dialog != None:
             self.dialogEnabled_old = oKiddyTimer.dialogEnabled
             oKiddyTimer.setDialogStatus(False)
+        else:
+            self.dialogEnabled_old = False
             
         # Plugin Information
         iRemainingTime = oKiddyTimer.remainingTime