Sort asm tileset lists

This commit is contained in:
GriffinR 2022-10-24 19:55:06 -04:00
parent d91ae9dab6
commit ea19b3a08c

View file

@ -1887,6 +1887,9 @@ bool Project::readTilesetLabels() {
QRegularExpressionMatch match = iter.next();
appendTilesetLabel(match.captured("label"), match.captured("isSecondary"));
}
this->primaryTilesetLabels.sort();
this->secondaryTilesetLabels.sort();
this->tilesetLabelsOrdered.sort();
filename = asm_filename; // For error reporting further down
} else {
this->usingAsmTilesets = false;