From 2ca020f3a9e3af38f36b664288171d5646fa09df Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Wed, 17 Jul 2013 13:44:38 -0400 Subject: [PATCH] Fixed: it seems setHidden must be called in CPView -initWithCoder. Reverts change made in 64f962e29a713c8befc3c5d40cbd87ac3d4042f8. --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 9c549bf14..790a224fd 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -3154,7 +3154,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask", } #endif - _isHidden = [aCoder decodeBoolForKey:CPViewIsHiddenKey]; + [self setHidden:[aCoder decodeBoolForKey:CPViewIsHiddenKey]]; if ([aCoder containsValueForKey:CPViewOpacityKey]) [self setAlphaValue:[aCoder decodeIntForKey:CPViewOpacityKey]];