Permalink
Browse files

change delete behavior back to more consistant method with less artif…

…acts
  • Loading branch information...
rwilcox committed Sep 8, 2012
1 parent 86acb51 commit 8f21cba67056bd7e395a2caa2d2737c17b852421
Showing with 2 additions and 2 deletions.
  1. +2 −2 PinPasswordViewController.m
@@ -184,12 +184,12 @@ - (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doComman
BOOL retval = NO;
if (commandSelector == @selector(deleteBackward:)) {
- //if ( [ [fieldEditor string] length ] == 0 ) {
+ if ( [ [fieldEditor string] length ] == 0 ) {
NSView* aPreviousView = [control previousKeyView];
[aPreviousView becomeFirstResponder];
//retval = YES; // causes Apple to NOT fire the default enter action
- //}
+ }
}
//NSLog(@"Selector = %@", NSStringFromSelector( commandSelector ) );

0 comments on commit 8f21cba

Please sign in to comment.