Skip to content

Commit

Permalink
Fix CSV import skipping over single-name groups
Browse files Browse the repository at this point in the history
* Fixes #10574
  • Loading branch information
droidmonkey committed Apr 13, 2024
1 parent 194409a commit f60601f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/csvImport/CsvImportWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit f60601f

Please sign in to comment.