mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:50:39 +00:00
Fix for NSSearchField not sending action messages during typing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30011 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
05beafea2e
commit
aaf93b224a
2 changed files with 18 additions and 6 deletions
|
@ -357,12 +357,6 @@
|
|||
editor: textObject
|
||||
delegate: anObject
|
||||
event: theEvent];
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
addObserver: self
|
||||
selector: @selector(textDidChange:)
|
||||
name: NSTextDidChangeNotification
|
||||
object: textObject];
|
||||
|
||||
}
|
||||
|
||||
- (void) endEditing: (NSText *)editor
|
||||
|
@ -389,6 +383,11 @@
|
|||
delegate: anObject
|
||||
start: selStart
|
||||
length: selLength];
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
addObserver: self
|
||||
selector: @selector(textDidChange:)
|
||||
name: NSTextDidChangeNotification
|
||||
object: textObject];
|
||||
}
|
||||
|
||||
- (BOOL) trackMouse: (NSEvent *)event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue