From cd9c1f8d044d74b73c506b3341bf73054512de6f Mon Sep 17 00:00:00 2001 From: Frank Le Grand Date: Fri, 19 Apr 2013 20:50:24 +0000 Subject: [PATCH] NSImageView sends mouseDown: to it's nextResponder when it is not editable, as it seems to do in Cocoa. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36549 72102866-910b-0410-8b05-ffd578937521 --- Source/NSImageView.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/NSImageView.m b/Source/NSImageView.m index 44e228925..492416aaa 100644 --- a/Source/NSImageView.m +++ b/Source/NSImageView.m @@ -307,6 +307,11 @@ static Class imageCellClass; - (void) mouseDown: (NSEvent*)theEvent { + if (![self isEditable]) + { + [[self nextResponder] mouseDown:theEvent]; + return; + } if ([self initiatesDrag]) { NSPasteboard *pboard;