From fda18c49779f8abcd83eb902e1064147b1c397fc Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 15 Sep 2013 00:05:52 +0100 Subject: less over-zealous code removal --- amiga/tree.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'amiga') diff --git a/amiga/tree.c b/amiga/tree.c index a017f0fe5..80d05a68f 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -1,5 +1,5 @@ /* - * Copyright 2008 - 2012 Chris Young + * Copyright 2008 - 2013 Chris Young * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -276,6 +276,10 @@ void ami_tree_drag_icon_show(struct treeview_window *twin) if((twin->type == AMI_TREE_COOKIES) || (twin->type == AMI_TREE_SSLCERT)) return; /* No permissable drag operations */ + if((tree_drag_status(twin->tree) == TREE_SELECT_DRAG) || + (tree_drag_status(twin->tree) == TREE_TEXTAREA_DRAG)) + return; + if((twin->type == AMI_TREE_HOTLIST) && (hotlist_has_selection())) { hotlist_get_selection(&url, &title); } else if((twin->type == AMI_TREE_HISTORY) && (global_history_has_selection())) { -- cgit v1.2.3