mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Merge bug fix from Doug Simons to trunk.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29058 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3c7a52388a
commit
3ebf818958
2 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-11-25 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSTextField.m (-textDidEndEditing:): Fix bug in
|
||||
textDidEndEditing:.
|
||||
Patch by Doug Simons <doug.simons@testplant.com>.
|
||||
|
||||
2009-11-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSTheme.m:
|
||||
|
|
|
@ -600,12 +600,17 @@ static Class textFieldCellClass;
|
|||
[self sendAction: [self action] to: [self target]];
|
||||
|
||||
if (movement == NSTabTextMovement)
|
||||
[_window selectKeyViewFollowingView: self];
|
||||
{
|
||||
[_window selectKeyViewFollowingView: self];
|
||||
if ([_window firstResponder] == _window)
|
||||
[self selectText: self];
|
||||
}
|
||||
else if (movement == NSBacktabTextMovement)
|
||||
{
|
||||
[_window selectKeyViewPrecedingView: self];
|
||||
|
||||
if ([_window firstResponder] == _window)
|
||||
[self selectText: self];
|
||||
if ([_window firstResponder] == _window)
|
||||
[self selectText: self];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue