Skip to content

Commit

Permalink
vtxTab: lexcical sort vtx_band (#3277)
Browse files Browse the repository at this point in the history
  • Loading branch information
HThuren authored Jan 25, 2023
1 parent 4f99c51 commit 69e16a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/tabs/vtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ vtx.initialize = function (callback) {
selectBand.append(new Option(i18n.getMessage('vtxBand_X', {bandName: i}), i));
}
}
// Sort the element, if need to group, do it by lexical sort, ie. by naming of (the translated) selection text
selectBand.sortSelect(i18n.getMessage("vtxBand_0"));
}

function populateChannelSelect() {
Expand Down

0 comments on commit 69e16a6

Please sign in to comment.