diff --git a/src/Gui/propertyeditor/PropertyModel.cpp b/src/Gui/propertyeditor/PropertyModel.cpp index 7d0f7932b5..2f096a202e 100644 --- a/src/Gui/propertyeditor/PropertyModel.cpp +++ b/src/Gui/propertyeditor/PropertyModel.cpp @@ -271,9 +271,7 @@ PropertyModel::GroupInfo& PropertyModel::getGroupInfo(App::Property* prop) { const char* group = prop->getGroup(); bool isEmpty = Base::Tools::isNullOrEmpty(group); - QString groupName = QString::fromLatin1( - isEmpty ? QT_TRANSLATE_NOOP("App::Property", "Base") : group - ); + QString groupName = QString::fromUtf8(isEmpty ? QT_TRANSLATE_NOOP("App::Property", "Base") : group); auto res = groupItems.insert(std::make_pair(groupName, GroupInfo())); if (res.second) {