Remove duplicate empty script labels in dropdown

This commit is contained in:
GriffinR
2023-09-19 19:08:17 -04:00
parent 4f459f5a06
commit 31c5ad6b95
2 changed files with 2 additions and 1 deletions

View File

@@ -479,9 +479,9 @@ QStringList Map::eventScriptLabels(Event::Group group) const {
}
scriptLabels.removeAll("");
scriptLabels.removeDuplicates();
scriptLabels.prepend("0x0");
scriptLabels.prepend("NULL");
scriptLabels.removeDuplicates();
return scriptLabels;
}