From bb0835e2f3e2d8e1f9581e0aa08879f75b9580dd Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Mon, 8 Mar 2010 18:52:00 -0800 Subject: [PATCH] CPImageView should send action on drop, as in Cocoa --- AppKit/CPImageView.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/CPImageView.j b/AppKit/CPImageView.j index 817ffbd0b..234f74ceb 100644 --- a/AppKit/CPImageView.j +++ b/AppKit/CPImageView.j @@ -370,7 +370,10 @@ var LEFT_SHADOW_INSET = 3.0, var images = [CPKeyedUnarchiver unarchiveObjectWithData:[[aSender draggingPasteboard] dataForType:CPImagesPboardType]]; if ([images count]) + { [self setImage:images[0]]; + [self sendAction:[self action] to:[self target]]; + } } @end