mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
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:
parent
ef3a42faf4
commit
59d08e16b8
2 changed files with 20 additions and 1 deletions
|
@ -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>
|
2004-10-24 01:13 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Palettes/0Menus/GNUmakefile.preamble
|
* Palettes/0Menus/GNUmakefile.preamble
|
||||||
|
|
|
@ -622,8 +622,8 @@
|
||||||
@implementation GormTextFieldEditor
|
@implementation GormTextFieldEditor
|
||||||
- (void) mouseDown: (NSEvent*)theEvent
|
- (void) mouseDown: (NSEvent*)theEvent
|
||||||
{
|
{
|
||||||
if (([theEvent clickCount] == 2) && [parent isOpened])
|
|
||||||
// double-clicked -> let's edit
|
// double-clicked -> let's edit
|
||||||
|
if (([theEvent clickCount] == 2) && [parent isOpened])
|
||||||
{
|
{
|
||||||
[self editTextField: _editedObject
|
[self editTextField: _editedObject
|
||||||
withEvent: theEvent];
|
withEvent: theEvent];
|
||||||
|
@ -649,6 +649,10 @@
|
||||||
{
|
{
|
||||||
result = NSDragOperationCopy;
|
result = NSDragOperationCopy;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = [super draggingEntered: sender];
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -696,6 +700,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
[super performDragOperation: sender];
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -712,6 +720,10 @@
|
||||||
{
|
{
|
||||||
result = YES;
|
result = YES;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = [super prepareForDragOperation: sender];
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue