1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00

Bug #180453: sort configurations in property pages

This commit is contained in:
Oleg Krasilnikov 2007-04-02 10:42:37 +00:00
parent 7bb447f90a
commit 37407685e7

View file

@ -510,6 +510,8 @@ implements
if (cfgDescs == null || cfgDescs.length == 0) return; if (cfgDescs == null || cfgDescs.length == 0) return;
} }
Arrays.sort(cfgDescs, new CDTListComparator());
// Clear and replace the contents of the selector widget // Clear and replace the contents of the selector widget
configSelector.removeAll(); configSelector.removeAll();
for (int i = 0; i < cfgDescs.length; ++i) { for (int i = 0; i < cfgDescs.length; ++i) {