fix close return values for non execing dialogs
[enigma2.git] / keymapparser.py
index 7162565..7131276 100644 (file)
@@ -63,11 +63,11 @@ def readKeymap(filename):
                                p.bindKey(filename, device, keyid, flags, context, mapto)
                                addKeyBinding(filename, keyid, context, mapto, flags)
 
-               parseKeys("generic", cmap)
-
                for device in elementsWithTag(cmap.childNodes, "device"):
                        parseKeys(str(device.getAttribute("name")), device)
 
+               parseKeys("generic", cmap)
+
 def removeKeymap(filename):
        p = enigma.eActionMap.getInstance()
        p.unbindKeyDomain(filename)