From b0d90bb61290e07e24f7ac0418c39c4e839fc7a7 Mon Sep 17 00:00:00 2001 From: Saikat Chakrabarti Date: Sun, 23 Feb 2014 16:03:56 -0800 Subject: [PATCH] ThemeState is a string now instead of an int on a CPView --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index aaf376585..63602207a 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -3353,7 +3353,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask", _theme = [CPTheme defaultTheme]; _themeClass = [aCoder decodeObjectForKey:CPViewThemeClassKey]; - _themeState = CPThemeState([aCoder decodeIntForKey:CPViewThemeStateKey]); + _themeState = CPThemeState([aCoder decodeObjectForKey:CPViewThemeStateKey]); _themeAttributes = {}; var theClass = [self class],