From 61db4397444c2cef0d250ff8fe62bf75a5336463 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:37:50 +0000 Subject: [PATCH] [Gui] Fix string encoding for document name --- src/Gui/ExpressionCompleter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/ExpressionCompleter.cpp b/src/Gui/ExpressionCompleter.cpp index 59c53db1c8..36afce5566 100644 --- a/src/Gui/ExpressionCompleter.cpp +++ b/src/Gui/ExpressionCompleter.cpp @@ -413,7 +413,7 @@ public: res = QString::fromUtf8(quote(doc->Label.getStrValue()).c_str()); } else { - res = QString::fromLatin1(doc->getName()); + res = QString::fromUtf8(doc->getName()); } if (sep) { res += QLatin1Char('#');