# HG changeset patch # User zas_ # Date 1235064998 0 # Node ID 8c47a4f521adbf2dbf7b530c668989259b77ab7f # Parent bd1c6e44539649b16b146019473e6902f14fbf7f Fix bug 2599857: file list sort order was wrong in many cases. diff -r bd1c6e445396 -r 8c47a4f521ad src/layout.c --- a/src/layout.c Mon Feb 16 22:48:30 2009 +0000 +++ b/src/layout.c Thu Feb 19 17:36:38 2009 +0000 @@ -1085,7 +1085,8 @@ if (lw->path_entry) tab_completion_append_to_history(lw->path_entry, lw->dir_fd->path); layout_sync_path(lw); - + layout_list_sync_sort(lw); + if (have_file) { gint row; @@ -1752,7 +1753,6 @@ layout_grid_setup(lw); layout_tools_hide(lw, lw->tools_hidden); - layout_list_sync_sort(lw); layout_util_sync(lw); layout_status_update_all(lw);