mirror of https://github.com/MidnightCommander/mc
fix crash in progress bar handling
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
4abfaf8172
commit
b51ae367da
|
@ -617,7 +617,7 @@ file_op_context_create_ui_without_init (FileOpContext * ctx, gboolean with_eta,
|
||||||
if ((right_panel == current_panel) && !classic_progressbar)
|
if ((right_panel == current_panel) && !classic_progressbar)
|
||||||
{
|
{
|
||||||
ui->progress_file_gauge->from_left_to_right = FALSE;
|
ui->progress_file_gauge->from_left_to_right = FALSE;
|
||||||
if (dialog_type == FILEGUI_DIALOG_MULTI_ITEM)
|
if (verbose && dialog_type == FILEGUI_DIALOG_MULTI_ITEM)
|
||||||
ui->progress_total_gauge->from_left_to_right = FALSE;
|
ui->progress_total_gauge->from_left_to_right = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue