[Gui] Fix string encoding for document name

(cherry picked from commit 61db439744)
This commit is contained in:
Syres916
2025-11-24 08:00:33 +01:00
committed by Max Wilfinger
parent aa02543896
commit 7aed77aaec
+1 -1
View File
@@ -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('#');