From 123f8b083d400a17d1d9cce2ce2fb0f342251e7a Mon Sep 17 00:00:00 2001 From: david Date: Wed, 27 Feb 2002 14:58:18 +0000 Subject: [PATCH] Patch from Andy Ross to sort properties in browser. --- src/GUI/prop_picker.cxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/GUI/prop_picker.cxx b/src/GUI/prop_picker.cxx index 59674c36d..383581310 100755 --- a/src/GUI/prop_picker.cxx +++ b/src/GUI/prop_picker.cxx @@ -501,6 +501,23 @@ void fgPropPicker::find_props () files [ num_files ] = NULL ; + // Sort the entries. This is a simple N^2 extraction sort. More + // elaborate algorithms aren't necessary for the few dozen + // properties we're going to sort. + for(i=0; i setLabel (startDir); -- 2.39.5