Do not force an immediate display in editXxx: and selectXxxx:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14538 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-09-24 14:35:52 +00:00
parent e9405ca0e7
commit ff1076cff8

View file

@ -1773,8 +1773,6 @@ static NSColor *shadowCol;
{ {
[textObject mouseDown: theEvent]; [textObject mouseDown: theEvent];
} }
[textObject display];
} }
- (void) endEditing: (NSText*)textObject - (void) endEditing: (NSText*)textObject
@ -1820,7 +1818,6 @@ static NSColor *shadowCol;
[self titleRectForBounds: aRect].size.height)]; [self titleRectForBounds: aRect].size.height)];
[[textObject textContainer] setWidthTracksTextView: NO]; [[textObject textContainer] setWidthTracksTextView: NO];
[[textObject textContainer] setWidthTracksTextView: NO]; [[textObject textContainer] setWidthTracksTextView: NO];
} }
if (_formatter != nil) if (_formatter != nil)
@ -1854,7 +1851,6 @@ static NSColor *shadowCol;
[textObject setSelectedRange: NSMakeRange (selStart, selLength)]; [textObject setSelectedRange: NSMakeRange (selStart, selLength)];
[textObject setDelegate: anObject]; [textObject setDelegate: anObject];
[[controlView window] makeFirstResponder: textObject]; [[controlView window] makeFirstResponder: textObject];
[textObject display];
} }
- (BOOL) sendsActionOnEndEditing - (BOOL) sendsActionOnEndEditing