mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-11 19:35:38 -05:00
Remove duplicate empty script labels in dropdown
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user