mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Ensure we get gadget from correct box.
This commit is contained in:
parent
0397a7cab1
commit
9da93c23a4
@ -1889,7 +1889,7 @@ static bool html_drop_file_at_point(struct content *c, int x, int y, char *file)
|
||||
/* Handle the drop */
|
||||
if (file_box) {
|
||||
/* File dropped on file input */
|
||||
html__set_file_gadget_filename(c, box->gadget, file);
|
||||
html__set_file_gadget_filename(c, file_box->gadget, file);
|
||||
|
||||
} else {
|
||||
/* File dropped on text input */
|
||||
|
Loading…
Reference in New Issue
Block a user