From b27560c51ea5592d8328a28ca8154a47d4b609e9 Mon Sep 17 00:00:00 2001 From: Blair Duncan Date: Fri, 27 Aug 2010 19:37:32 -0400 Subject: [PATCH] Fix for issue 841 where the edit cursor would not always flash --- AppKit/CPTextField.j | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 84037104f..cf5ec9465 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -278,6 +278,10 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder"); return; _isEditable = shouldBeEditable; + + if(shouldBeEditable) + _isSelectable = YES; + // We only allow first responder status if the field is editable and enabled. if (!shouldBeEditable && [[self window] firstResponder] === self) [[self window] makeFirstResponder:nil];