changeset 1301:8c47a4f521ad

Fix bug 2599857: file list sort order was wrong in many cases.
author zas_
date Thu, 19 Feb 2009 17:36:38 +0000
parents bd1c6e445396
children 8d1f9739c06a
files src/layout.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);