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