Gui: [skip ci] fix regression by using UTF-8 encoding in PropertyItem::setPropertyValue
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user