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
+2 -2
View File
@@ -455,8 +455,8 @@ LabelsVector ModelMap::fromCSV(const char* str)
c = strchr(c, ','); c = strchr(c, ',');
} }
{ std::string lbl(prev_c);
std::string lbl(prev_c); if (!lbl.empty()) {
unEscapeCSV(lbl); unEscapeCSV(lbl);
lbls.push_back(lbl); lbls.push_back(lbl);
} }