diff --git a/src/App/ObjectIdentifier.cpp b/src/App/ObjectIdentifier.cpp index 4b6532550..a53f41b11 100644 --- a/src/App/ObjectIdentifier.cpp +++ b/src/App/ObjectIdentifier.cpp @@ -574,7 +574,7 @@ void ObjectIdentifier::resolve() const } } - documentName = String(doc->Label.getValue()); + documentName = String(doc->getName()); /* Document object name specified? */ if (documentObjectNameSet) {