Skip to content

Commit

Permalink
(file_op_context_create_ui): apply callback to the "Abort" button
Browse files Browse the repository at this point in the history
...to keep the file progress dialog visible.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
  • Loading branch information
aborodin committed Aug 20, 2024
1 parent ad96349 commit 5e64cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filemanager/filegui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 5e64cc6

Please sign in to comment.