diff --git a/source/app/commands/importattributescommand.cpp b/source/app/commands/importattributescommand.cpp index c08de8daf..8658bfefb 100644 --- a/source/app/commands/importattributescommand.cpp +++ b/source/app/commands/importattributescommand.cpp @@ -148,7 +148,7 @@ bool ImportAttributesCommand::execute() for(auto elementId : elementIds) { - auto value = u::contains(map, elementId) ? + auto value = map.contains(elementId) ? _data.valueAt(static_cast(columnIndex), map.at(elementId)) : QString{}; userData->setValueBy(elementId, name, value); }