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 <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-05-09 19:35:29 +03:00
parent 70694f53b6
commit b36b9459d5

View File

@ -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 */