aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/GUISkin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py
index 0cf4d027..9f65025d 100644
--- a/lib/python/Components/GUISkin.py
+++ b/lib/python/Components/GUISkin.py
@@ -1,6 +1,7 @@
from GUIComponent import GUIComponent
from skin import applyAllAttributes
from Tools.CList import CList
+from Sources.Source import Source
class GUISkin:
__module__ = __name__
@@ -37,11 +38,12 @@ class GUISkin:
def deleteGUIScreen(self):
seenFakeSource = False
for (name, val) in self.items():
- if name == "fake":
+ if name == "fake" and isinstance(val, Source):
seenFakeSource = True
if isinstance(val, GUIComponent):
val.GUIdelete()
if seenFakeSource:
+ print "DEL FAKE SOURCE"
del self["fake"]
def close(self):