Expansion Sample Maps -Sorted Naturally by default now?
-
@danh You can sort the list yourself with the
sort
function to make sure it does ;) -
@d-healey I did try that, and the list in the combo box went alphabetical, but it seemed it still loaded the sample maps as before. I couldn't figure it out!
-
@danh Did you only sort the list as it was written to the combo box items list or did sort the array that contains the sample maps and the combo box items?
-
@d-healey I did this:
sampleMaps.sortNatural();
-
@danh And that array is also used to populate the combo box?
-
@d-healey aye:
SAMPLEBOX.set("items", ""); SAMPLEBOX.set("items", sampleMaps.join("\n"));
-
@danh You don't need to clear the combo box before populating any more, that bug was fixed :)
-
@d-healey said in Expansion Sample Maps -Sorted Naturally by default now?:
You don't need to clear the combo box before populating any more, that bug was fixed
-
@d-healey good to know. So the code looks ok? Maybe I'll have another go - although maybe impossible to tell now
-
@danh said in Expansion Sample Maps -Sorted Naturally by default now?:
So the code looks ok?
From the tiny amount you've posted, yes.