A little bit of 'end editing' was still done after the end editing notification

was posted ... causing the delegate not to be able to select the text when
receiving the notification ... fixed!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13983 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-06-27 10:52:01 +00:00
parent 7836c1430f
commit d2d3d03ef4

View file

@ -455,6 +455,8 @@ static Class textFieldCellClass;
[_cell endEditing: [aNotification object]];
_text_object = nil;
d = [NSDictionary dictionaryWithObject: [aNotification object]
forKey: @"NSFieldEditor"];
[nc postNotificationName: NSControlTextDidEndEditingNotification
@ -487,7 +489,6 @@ static Class textFieldCellClass;
break;
}
}
_text_object = nil;
}
- (BOOL) textShouldBeginEditing: (NSText *)textObject