* EOAccess/EOAdaptor.m ([EOAdaptor sharedInstancePanel]):

Only register panel if it was actually created.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@18640 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-02-23 21:33:00 +00:00
parent 281ebea9b2
commit 6ff09530e4

View file

@ -291,7 +291,10 @@ NSString *EOAdministrativeConnectionDictionaryKey
loginBundle = [NSBundle bundleWithPath: path];
loginClass = [loginBundle principalClass];
panel = [loginClass new];
[panelDict setObject: panel forKey: name];
if (panel != nil)
{
[panelDict setObject: panel forKey: name];
}
}
}