mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* 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:
parent
281ebea9b2
commit
6ff09530e4
1 changed files with 4 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue