Commits

Anonymous committed 5d3cb00

Styled text field - fix for ibtool error on 10.5

Comments (0)

Files changed (1)

BWStyledTextFieldCell.m

 
 - (void)applyGradient
 {	
+	if ([[self controlView] window] == nil)
+		return;
+	
 	if (self.hasGradient)
 	{	
 		float textHeight = [[self font] ascender] - [[self font] descender];