mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-17 23:14:18 +03:00
If a file isn't dropped over a text box or a file box, just load it.
svn path=/trunk/netsurf/; revision=10148
This commit is contained in:
parent
6168e67632
commit
f6d0a6aa05
@ -1557,7 +1557,12 @@ void ami_handle_appmsg(void)
|
||||
}
|
||||
|
||||
if(!file_box && !text_box)
|
||||
{
|
||||
urlfilename = path_to_url(filename);
|
||||
browser_window_go(gwin->bw, urlfilename, NULL, true);
|
||||
free(urlfilename);
|
||||
return;
|
||||
}
|
||||
|
||||
if(file_box)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user