refacturing

This commit is contained in:
daboe01 committed 2015-07-14 19:29:46 +02:00
1 parent 84a3ee209a
commit 4510b69798
1 file changed
+1 -1
+1 -1
View File
@@ -254,7 +254,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (void)_windowDidBecomeKey:(CPNotification)aNotification
{
if ([[self window] isKeyWindow] && [[self window] firstResponder] === self)
if ([self _isFocused])
[self updateInsertionPointStateAndRestartTimer:YES];
}