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 bd5984ca82
commit 4b87a3e58e
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

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