summaryrefslogtreecommitdiff
path: root/amiga/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/tree.c')
-rw-r--r--amiga/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index 75ba123ad..e44c821e0 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -1183,6 +1183,10 @@ BOOL ami_tree_event(struct treeview_window *twin)
GetAttr(WINDOW_InputEvent,twin->objects[OID_MAIN],(ULONG *)&ie);
nskey = ami_key_to_nskey(storage, ie);
tree_keypress(twin->tree, nskey);
+ if(nskey == KEY_COPY_SELECTION) {
+ /* if we've copied a selection we need to clear it - style guide rules */
+ tree_keypress(twin->tree, KEY_CLEAR_SELECTION);
+ }
break;
case WMHI_MENUPICK: