mirror of
https://github.com/rkd77/elinks.git
synced 2025-05-18 00:48:57 -04:00
NET: Nullify download->progress when move_download args are in result state
This is another follow-up regression fix that made open and save actions in the WTD-dialog not function correctly when the connection ended before they were pressed. Related: 347970988d244afa226ceee6807bca9fbf3caeb3
This commit is contained in:
parent
4b91866c84
commit
e726be3a76
@ -1046,6 +1046,7 @@ move_download(struct download *old, struct download *new,
|
||||
* connection has been detached and non-NULL otherwise. */
|
||||
if (new->callback) {
|
||||
new->conn = NULL;
|
||||
new->progress = NULL;
|
||||
new->callback(new, new->data);
|
||||
}
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user