mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-15 06:03:38 -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: 347970988d
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…
Reference in New Issue
Block a user