mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-13 22:29:26 +03:00
Fix crash on multi-select drags
svn path=/trunk/netsurf/; revision=10940
This commit is contained in:
parent
ea57818977
commit
ce83680b4d
@ -279,7 +279,7 @@ void ami_tree_drag_end(struct treeview_window *twin, int x, int y)
|
||||
{
|
||||
selected_node = tree_get_selected_node(tree_get_root(twin->tree));
|
||||
|
||||
if(tree_node_is_folder(selected_node))
|
||||
if((selected_node == NULL) || (tree_node_is_folder(selected_node)))
|
||||
{
|
||||
DisplayBeep(scrn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user