Skip to content

Commit

Permalink
update column sizes after toggling thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Jul 24, 2009
1 parent 3374e3d commit 206a227
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/view_file_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,11 @@ void vflist_thumb_set(ViewFile *vf, gboolean enable)
- no need to re-read the directory
- force update because the formatted string has changed
*/
if (vf->layout) vflist_populate_view(vf, TRUE);
if (vf->layout)
{
vflist_populate_view(vf, TRUE);
gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview));
}
}

void vflist_marks_set(ViewFile *vf, gboolean enable)
Expand Down

0 comments on commit 206a227

Please sign in to comment.