Ignore:
Timestamp:
03/26/08 06:53:14 (12 years ago)
Author:
Nicholas Riley
Message:

More nib cleanup; stop Escape from closing the workspace (still need Option for completion, though.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/F-Script Anywhere/Source/FSAController.m

    r450 r454  
    236236
    237237@end
     238
     239@implementation FSAController (NSWindowDelegate)
     240
     241- (BOOL)windowShouldClose:(id)sender;
     242{
     243    NSEvent *e = [NSApp currentEvent];
     244   
     245    if ([e type] == NSKeyDown && [e keyCode] == 53) // Escape
     246        return NO;
     247   
     248    return YES;
     249}
     250
     251@end
Note: See TracChangeset for help on using the changeset viewer.