[Part] fix encoding bug

- fixes the regression by #7255 -> the degree sign cannot be decoded as Latin1
This commit is contained in:
Uwe
2023-02-24 03:44:07 +01:00
parent bb6b1979f6
commit ad1f9cd0c4

View File

@@ -1951,7 +1951,7 @@ void DlgPrimitives::acceptChanges(const QString& placement)
QString command = primitive->change(objectName, placement);
// execute command, a transaction is already opened
Gui::Command::runCommand(Gui::Command::App, command.toLatin1());
Gui::Command::runCommand(Gui::Command::App, command.toUtf8());
}
void DlgPrimitives::accept(const QString& placement)