fix(color): 'Unlabeled' option does not appear in labels list (#4531)

This commit is contained in:
philmoz
2024-01-12 10:51:50 +10:00
committed by GitHub
parent 6479081e09
commit b9e3ee1408
+3 -3
View File
@@ -455,12 +455,12 @@ LabelsVector ModelMap::fromCSV(const char* str)
c = strchr(c, ',');
}
{
std::string lbl(prev_c);
std::string lbl(prev_c);
if (!lbl.empty()) {
unEscapeCSV(lbl);
lbls.push_back(lbl);
}
return lbls;
}