fix several bugs in LabelEditor to handle PropertyStringList

This commit is contained in:
wmayer
2018-12-20 23:20:23 +01:00
parent 7d5870b658
commit 81f50a577c
2 changed files with 8 additions and 11 deletions

View File

@@ -2161,6 +2161,7 @@ QVariant PropertyStringListItem::toString(const QVariant& prop) const
list = list.mid(0, 10);
list.append(QLatin1String("..."));
}
QString text = QString::fromUtf8("[%1]").arg(list.join(QLatin1String(",")));
text.replace(QString::fromUtf8("'"),QString::fromUtf8("\\'"));