Commit acf1e49d authored by hjk's avatar hjk
Browse files

debugger: make QString "displayable" in a QTextEdit

parent 4243b562
......@@ -1404,6 +1404,14 @@ def qdump__QStack(d, item):
def qdump__QString(d, item):
d.putField("typeformats", "Normal,Displayed");
format = d.itemFormat(item)
if format == 0:
elif format == 1:
d.putField("editformat", 2)
str = encodeString(item.value)
d.putField("editvalue", str)
def qdump__QStringList(d, item):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment