diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-09-14 12:29:34 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-09-14 23:52:30 +0100 |
commit | c32c68f4ed7bd891f547ad935b00eda0add80ef7 (patch) | |
tree | e25ce7f3142ce8187a421886dcb8561c76091914 /amiga | |
parent | 250338ba7c1bcf976399d29af9ed56de966ae816 (diff) | |
download | netsurf-c32c68f4ed7bd891f547ad935b00eda0add80ef7.tar.gz netsurf-c32c68f4ed7bd891f547ad935b00eda0add80ef7.tar.bz2 |
Support drag for global history too
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/tree.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/amiga/tree.c b/amiga/tree.c index 466348477..c67c4a0eb 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -264,11 +264,6 @@ void ami_tree_drag_icon_show(struct treeview_window *twin) nsurl *url = NULL; const char *title = NULL; - if((tree_drag_status(twin->tree) == TREE_NO_DRAG) || - (tree_drag_status(twin->tree) == TREE_SELECT_DRAG) || - (tree_drag_status(twin->tree) == TREE_TEXTAREA_DRAG)) - return; - if((twin->type == AMI_TREE_COOKIES) || (twin->type == AMI_TREE_SSLCERT)) return; /* No permissable drag operations */ @@ -308,7 +303,7 @@ void ami_tree_drag_end(struct treeview_window *twin, int x, int y) if((title == NULL) || (title && (url == NULL))) { DisplayBeep(scrn); - } else { + } else if(url) { if(gwin = ami_window_at_pointer(AMINS_WINDOW)) { browser_window_navigate(gwin->bw, url, |