diff --git a/src/Gui/MergeDocuments.cpp b/src/Gui/MergeDocuments.cpp index 9b53d960c..fe1cbbd98 100644 --- a/src/Gui/MergeDocuments.cpp +++ b/src/Gui/MergeDocuments.cpp @@ -69,7 +69,7 @@ protected: if (!propertyStack.empty()) { // replace the stored object name with the real one - if (LocalName == "Link" || (LocalName == "String" && propertyStack.top().first == "Label")) { + if (LocalName == "Link" || LocalName == "LinkSub" || (LocalName == "String" && propertyStack.top().first == "Label")) { for (std::map::iterator it = AttrMap.begin(); it != AttrMap.end(); ++it) { std::map::const_iterator jt = nameMap.find(it->second); if (jt != nameMap.end())