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:
Wolfgang Lux 2009-11-24 23:30:45 +00:00
parent 3c7a52388a
commit 3ebf818958
2 changed files with 15 additions and 4 deletions

View file

@ -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:

View file

@ -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];
}
}
}