diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index 53836e35dc..af50786ea4 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -1210,7 +1210,7 @@ bool Document::saveAs() QString exe = qApp->applicationName(); QString fn = FileDialog::getSaveFileName(getMainWindow(), QObject::tr("Save %1 Document").arg(exe), - QString::fromUtf8(getDocument()->FileName.getValue()), + QString::fromUtf8(getDocument()->Label.getValue()), QString::fromLatin1("%1 %2 (*.FCStd)").arg(exe, QObject::tr("Document"))); if (!fn.isEmpty()) {