mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-25 07:55:52 +00:00
only nib2cib bundle if bundle path is set in nib
This commit is contained in:
1 parent
ca2ae22f15
commit
2935651578
1 file changed
+4
-1
@@ -33,7 +33,10 @@
|
||||
{
|
||||
_title = [aCoder decodeObjectForKey:@"NSTitle"];
|
||||
_cibName = [aCoder decodeObjectForKey:@"NSNibName"];
|
||||
_cibBundle = [CPBundle bundleWithPath:[aCoder decodeObjectForKey:@"NSNibBundleIdentifier"]];
|
||||
|
||||
var bundlePath = [aCoder decodeObjectForKey:@"NSNibBundleIdentifier"]
|
||||
if (bundlePath)
|
||||
_cibBundle = [CPBundle bundleWithPath:bundlePath];
|
||||
}
|
||||
|
||||
return self;
|
||||
|
||||
Reference in new issue
Block a user