Fix CSV import skipping over single-name groups

* Fixes #10574
This commit is contained in:
Jonathan White committed 2024-04-13 07:53:12 -04:00
1 parent 194409abd6
commit f60601fa67
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}