mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-14 06:14:09 +03:00
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:
parent
70694f53b6
commit
b36b9459d5
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user