diff --git a/qelectrotech.pro b/qelectrotech.pro index 65453fef4..287005af2 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -97,7 +97,8 @@ INCLUDEPATH += sources \ sources/SearchAndReplace/ui \ sources/NameList \ sources/NameList/ui \ - sources/utils + sources/utils \ + sources/pugixml # Fichiers sources diff --git a/sources/ElementsCollection/elementslocation.cpp b/sources/ElementsCollection/elementslocation.cpp index 7b1de97df..775dead99 100644 --- a/sources/ElementsCollection/elementslocation.cpp +++ b/sources/ElementsCollection/elementslocation.cpp @@ -495,7 +495,7 @@ NamesList ElementsLocation::nameList() NamesList nl; if (isElement()) - nl.fromXml(xml()); + nl.fromXml(pugiXml()); if (isDirectory()) {