From 36cdcbc3c145d6a6066786e13f7ca0491ac04051 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Mon, 28 Sep 2015 11:37:37 -0700 Subject: [PATCH] Fixed: setupViewFlags was not called when creating a view from a xib Previously, the method setupViewFlags was not called when creating from a xib. This issue was introduced by the commit #448c2a2 Fixed #2380 --- AppKit/CPView.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 2821a8147..089b6d07e 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -3720,6 +3720,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask", _opacity = 1.0; [self setBackgroundColor:[aCoder decodeObjectForKey:CPViewBackgroundColorKey]]; + [self _setupViewFlags]; _theme = [CPTheme defaultTheme]; _themeClass = [aCoder decodeObjectForKey:CPViewThemeClassKey];