mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
If the initial download dir is changed, update requesters immediately to use that as the next location.
This commit is contained in:
parent
bbcb7d91b2
commit
4b941297aa
@ -1767,7 +1767,11 @@ static void ami_gui_opts_use(bool save)
|
||||
}
|
||||
|
||||
GetAttr(GETFILE_Drawer,gow->objects[GID_OPTS_DLDIR],(ULONG *)&data);
|
||||
if(strcmp(data, nsoption_charp(download_dir)) != 0) {
|
||||
nsoption_set_charp(download_dir, (char *)strdup((char *)data));
|
||||
ami_file_req_free();
|
||||
ami_file_req_init();
|
||||
}
|
||||
|
||||
GetAttr(GA_Selected,gow->objects[GID_OPTS_TAB_ACTIVE],(ULONG *)&data);
|
||||
if (data) {
|
||||
|
Loading…
Reference in New Issue
Block a user