From 6c04ea765fea555ba611ec4581a167a11f37e101 Mon Sep 17 00:00:00 2001 From: VM4Dim <96398106+VM4Dim@users.noreply.github.com> Date: Sat, 20 Dec 2025 03:53:16 +0300 Subject: [PATCH] Gui: Fix non-Latin groupName (#26285) --- src/Gui/propertyeditor/PropertyModel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {