make configSelection circular
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index cf22967..dc78c19 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -72,7 +72,7 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                elif attrib == 'font':
                        guiObject.setFont(parseFont(value))
                elif attrib == 'zPosition':
-                       guiObject.setZPosition(value)
+                       guiObject.setZPosition(int(value))
                elif attrib == "pixmap":
                        ptr = gPixmapPtr()
                        if loadPNG(ptr, value):