mirror of https://github.com/MidnightCommander/mc
(file_op_context_create_ui): apply callback to the "Abort" button
...to keep the file progress dialog visible. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ad96349c91
commit
5e64cc637f
|
@ -936,7 +936,7 @@ file_op_context_create_ui (file_op_context_t *ctx, gboolean with_eta,
|
|||
|
||||
progress_buttons[3].w = WIDGET (button_new (y, 0, progress_buttons[3].action,
|
||||
progress_buttons[3].flags, progress_buttons[3].text,
|
||||
NULL));
|
||||
progress_button_callback));
|
||||
if (progress_buttons[3].len == -1)
|
||||
progress_buttons[3].len = button_get_len (BUTTON (progress_buttons[3].w));
|
||||
|
||||
|
|
Loading…
Reference in New Issue