Gui: [skip ci] fix regression by using UTF-8 encoding in PropertyItem::setPropertyValue

This commit is contained in:
wmayer
2020-04-03 16:22:35 +02:00
parent ff9029938f
commit e2e4ecf36c

View File

@@ -502,7 +502,7 @@ void PropertyItem::setPropertyValue(const QString& value)
}
ss << parent->getPropertyPrefix() << prop->getName()
<< " = " << value.toLatin1().constData() << '\n';
<< " = " << value.toUtf8().constData() << '\n';
}
std::string cmd = ss.str();