mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:20:37 +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
c64d585593
commit
972b59a49b
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…
Add table
Add a link
Reference in a new issue