]> git.street.me.uk Git - andy/viking.git/commitdiff
Be consistent in that track and waypoint list dialogs are always sorted alphabetically.
authorRob Norris <rw_norris@hotmail.com>
Wed, 11 Apr 2012 21:13:45 +0000 (22:13 +0100)
committerRob Norris <rw_norris@hotmail.com>
Wed, 11 Apr 2012 21:13:45 +0000 (22:13 +0100)
Only the treeview listing can not alphabetized.

src/viktrwlayer.c

index 0ec5f2893eb1dd97a30f4a4445b5765594a1cc1c..0b6532ec30d0500103bb865a962187025e77d1e8 100644 (file)
@@ -3466,10 +3466,8 @@ static void trw_layer_merge_with_other ( gpointer pass_along[6] )
     return;
   }
 
-#ifdef VIK_CONFIG_ALPHABETIZED_TRW
   // Sort alphabetically for user presentation
   other_tracks = g_list_sort_with_data (other_tracks, sort_alphabetically, NULL);
-#endif
 
   GList *merge_list = a_dialog_select_from_list(VIK_GTK_WINDOW_FROM_LAYER(vtl),
       other_tracks, TRUE,