aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-12-17 00:12:05 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-12-17 00:12:05 +0000
commite1ea45e881637c29c87677ef0cb15fcc600cf502 (patch)
tree6cb0cc57f824c5716e7b7c3186820897a73d1cc2 /mytest.py
parent28ec4d16dee857ba725ce9a376fb69829bff0592 (diff)
downloadenigma2-e1ea45e881637c29c87677ef0cb15fcc600cf502.tar.gz
enigma2-e1ea45e881637c29c87677ef0cb15fcc600cf502.zip
Screen: clear all elements on close
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mytest.py b/mytest.py
index 42bcd3ee..242f19e5 100644
--- a/mytest.py
+++ b/mytest.py
@@ -75,8 +75,6 @@ class Session:
if self.currentDialog.isTmp:
self.currentDialog.doClose()
-
- del self.currentDialog.instance
# dump(self.currentDialog)
del self.currentDialog
else:
@@ -121,6 +119,9 @@ class Session:
quitMainloop(5)
print '-'*60
+ if dlg is None:
+ return
+
# read skin data
readSkin(dlg, None, dlg.skinName, self.desktop)