diff --git a/src/Mod/Assembly/CommandInsertLink.py b/src/Mod/Assembly/CommandInsertLink.py index d4e6e14f02..6f17dc7304 100644 --- a/src/Mod/Assembly/CommandInsertLink.py +++ b/src/Mod/Assembly/CommandInsertLink.py @@ -151,7 +151,7 @@ class TaskAssemblyInsertLink(QtCore.QObject): for doc in docList: # Create a new tree item for the document docItem = QtGui.QTreeWidgetItem() - docItem.setText(0, doc.Name + ".FCStd") + docItem.setText(0, doc.Label + ".FCStd") docItem.setIcon(0, QIcon.fromTheme("add", QIcon(":/icons/Document.svg"))) if not any(