diff src/layout.c @ 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 cfe814fc8e74
children 55ea4962887a
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);