From e1ea45e881637c29c87677ef0cb15fcc600cf502 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sat, 17 Dec 2005 00:12:05 +0000 Subject: Screen: clear all elements on close --- mytest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mytest.py') 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) -- cgit v1.2.3