debugger: fix QHash dumper in the case of simple keys

This commit is contained in:
hjk
2010-03-05 10:09:51 +01:00
parent b3e129574f
commit cba4476d0a

View File

@@ -307,8 +307,8 @@ def qdump__QHashNode(d, item):
key = item.value["key"]
value = item.value["value"]
if isSimpleType(valueType):
d.safePutItemHelper(Item(value))
if isSimpleType(keyType) and isSimpleType(valueType):
d.safePutItemHelper(Item(value, "data", item.iname))
else:
d.putValue(" ")