1
0
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:
Witold Filipczyk 2007-05-02 17:48:06 +02:00 committed by Witold Filipczyk
parent 0f2a24229f
commit c364abd748

View File

@ -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);
}