[Gui] Fix string encoding for document name

This commit is contained in:
Syres916
2025-11-20 18:37:50 +00:00
committed by GitHub
parent 4c8d140373
commit 61db439744

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('#');