Correction for link bug.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20262 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-10-27 01:09:19 +00:00
parent ef3a42faf4
commit 59d08e16b8
2 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-10-26 21:18 Gregory John Casamento <greg_casamento@yahoo.com>
* GormControlEditor.m: Added code to call the superclass in
the dragging methods if the type being dragged isn't a formatter.
This was a bug introduced on 10-17. Corrected now. Thanks to
Fabien Vallon for the report.
2004-10-24 01:13 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/0Menus/GNUmakefile.preamble

View file

@ -622,8 +622,8 @@
@implementation GormTextFieldEditor
- (void) mouseDown: (NSEvent*)theEvent
{
// double-clicked -> let's edit
if (([theEvent clickCount] == 2) && [parent isOpened])
// double-clicked -> let's edit
{
[self editTextField: _editedObject
withEvent: theEvent];
@ -649,6 +649,10 @@
{
result = NSDragOperationCopy;
}
else
{
result = [super draggingEntered: sender];
}
return result;
}
@ -696,6 +700,10 @@
}
}
}
else
{
[super performDragOperation: sender];
}
return result;
}
@ -712,6 +720,10 @@
{
result = YES;
}
else
{
result = [super prepareForDragOperation: sender];
}
return result;
}