From a10fbf2e8c485e03eba66d7ba35e02de5bb79d46 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 20 Nov 2025 21:37:05 +0000 Subject: [PATCH] [Gui] Fix string coding on selection changed --- src/Gui/Selection/SelectionView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/Selection/SelectionView.cpp b/src/Gui/Selection/SelectionView.cpp index 65c8662c25..97e7c3e722 100644 --- a/src/Gui/Selection/SelectionView.cpp +++ b/src/Gui/Selection/SelectionView.cpp @@ -162,9 +162,9 @@ void SelectionView::onSelectionChanged(const SelectionChanges& Reason) const char* objName, const char* subName, App::DocumentObject* obj) { - str << docName; + str << QString::fromUtf8(docName); str << "#"; - str << objName; + str << QString::fromUtf8(objName); if (subName != 0 && subName[0] != 0) { str << "."; /* Original code doesn't take account of histories in subelement names and displays