Fix CSV import skipping over single-name groups

* Fixes #10574
This commit is contained in:
Jonathan White 2024-04-09 13:29:53 -04:00
parent 194409abd6
commit f60601fa67

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();
}