diff src/view_file.c @ 1309:55ea4962887a

config file format changed to XML save and restore all layout windows save and restore sidebar configuration
author nadvornik
date Sun, 22 Feb 2009 15:35:37 +0000
parents 4a3ae0e6f1eb
children 79937bc55f3a
line wrap: on
line diff
--- a/src/view_file.c	Sun Feb 22 13:29:49 2009 +0000
+++ b/src/view_file.c	Sun Feb 22 15:35:37 2009 +0000
@@ -447,10 +447,10 @@
 	switch(vf->layout->file_view_type)
 	{
 	case FILEVIEW_LIST:
-		layout_views_set(vf->layout, vf->layout->dir_view_type, FILEVIEW_ICON);
+		layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_ICON);
 		break;
 	case FILEVIEW_ICON:
-		layout_views_set(vf->layout, vf->layout->dir_view_type, FILEVIEW_LIST);
+		layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_LIST);
 		break;
 	}
 }