mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-27 08:00:32 -04:00
bug 949: Stupid, but works.
Previously object_unlock in push_delete_button_common caused an assertion failure.
This commit is contained in:
parent
0f2a24229f
commit
c364abd748
@ -520,8 +520,7 @@ push_abort_button(struct dialog_data *dlg_data, struct widget_data *button)
|
||||
struct file_download *file_download = box->sel ? box->sel->udata : NULL;
|
||||
|
||||
if (!file_download) return EVENT_PROCESSED;
|
||||
|
||||
done_download_display(file_download);
|
||||
object_lock(file_download);
|
||||
return push_delete_button_common(file_download);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user