mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
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:
parent
7836c1430f
commit
d2d3d03ef4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue