* GormCore/GormWindowEditor.m: Check the _firstResponder on

the window to see if it is the same as the _initialFirstResponder.
	If it is, set it to nil as well in -unsetInitialFirstResponder:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36196 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2013-02-25 09:15:52 +00:00
parent b74dcdfa9a
commit 4523eaca35
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-02-25 04:14-EST Gregory John Casamento <greg.casamento@gmail.com>
* GormCore/GormWindowEditor.m: Check the _firstResponder on
the window to see if it is the same as the _initialFirstResponder.
If it is, set it to nil as well in -unsetInitialFirstResponder:.
2013-02-23 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* GormCore/GormObjectEditor.h
* GormCore/GormObjectEditor.m

View file

@ -91,6 +91,10 @@
*/
- (void) unsetInitialFirstResponder
{
if(_firstResponder == _initialFirstResponder)
{
ASSIGN(_firstResponder, nil);
}
ASSIGN(_initialFirstResponder, nil);
}
@end