mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 20:49:13 +00:00
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
This commit is contained in:
parent
7e9050993d
commit
cd9c1f8d04
1 changed files with 5 additions and 0 deletions
|
@ -307,6 +307,11 @@ static Class imageCellClass;
|
|||
|
||||
- (void) mouseDown: (NSEvent*)theEvent
|
||||
{
|
||||
if (![self isEditable])
|
||||
{
|
||||
[[self nextResponder] mouseDown:theEvent];
|
||||
return;
|
||||
}
|
||||
if ([self initiatesDrag])
|
||||
{
|
||||
NSPasteboard *pboard;
|
||||
|
|
Loading…
Reference in a new issue