Commit 752066d0 authored by hjk's avatar hjk

debugger: show something when editing

parent 5810335f
......@@ -453,7 +453,7 @@ static inline QVariant editValue(const WatchData &d)
break;
}
// Replace newlines, which will cause line edit troubles.
QString stringValue;
QString stringValue = d.value;
stringValue.replace(QLatin1String("\n"), QLatin1String("\\n"));
return QVariant(stringValue);
}
......
Markdown is supported
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