From 5537d27dc8be6202fab0089c271136975553008b Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Thu, 4 May 2017 16:35:25 +0200 Subject: hide folders in "View All Files" Fixes #172 --- src/fr-window.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fr-window.c b/src/fr-window.c index d189547..88e221b 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -1117,9 +1117,8 @@ compute_file_list_name (FrWindow *window, return FALSE; if (window->priv->list_mode == FR_WINDOW_LIST_MODE_FLAT) { - file_data_set_list_name (fdata, fdata->name); - if (fdata->dir) - fdata->dir_size = 0; + if (!(fdata->dir)) + file_data_set_list_name (fdata, fdata->name); return FALSE; } -- cgit v1.2.1