diff --git a/src/gui/csvImport/CsvImportWidget.cpp b/src/gui/csvImport/CsvImportWidget.cpp index be66c50e01..dfd3606da7 100644 --- a/src/gui/csvImport/CsvImportWidget.cpp +++ b/src/gui/csvImport/CsvImportWidget.cpp @@ -41,7 +41,7 @@ namespace auto nameList = groupPath.split("/", QString::SkipEmptyParts); // Skip over first group name if root - if (nameList.first().compare("root", Qt::CaseInsensitive)) { + if (nameList.first().compare("root", Qt::CaseInsensitive) == 0) { nameList.removeFirst(); }