From b36b9459d56ac656964c9408e10a99f4a720d7dc Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 9 May 2020 19:35:29 +0300 Subject: [PATCH] Ticket #4081: speed of file copy is not dispalyed for single file. (panel_operate_init_totals): set ctx->progress_totals_computed to TRUE in case of copy/move operation for single file. Signed-off-by: Andrew Borodin --- src/filemanager/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filemanager/file.c b/src/filemanager/file.c index 5b3ef56aa..4c4b20c38 100644 --- a/src/filemanager/file.c +++ b/src/filemanager/file.c @@ -792,7 +792,7 @@ panel_operate_init_totals (const WPanel * panel, const vfs_path_t * source, status = FILE_CONT; ctx->progress_count = panel->marked; ctx->progress_bytes = panel->total; - ctx->progress_totals_computed = FALSE; + ctx->progress_totals_computed = verbose && dialog_type == FILEGUI_DIALOG_ONE_ITEM; } /* destroy already created UI for single file rename operation */