From c364abd7485c13376e15a97bd9645b77a30de315 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 2 May 2007 17:48:06 +0200 Subject: [PATCH] bug 949: Stupid, but works. Previously object_unlock in push_delete_button_common caused an assertion failure. --- src/dialogs/download.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dialogs/download.c b/src/dialogs/download.c index 4ba49a57..0fa8a226 100644 --- a/src/dialogs/download.c +++ b/src/dialogs/download.c @@ -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); }