Changeset 5272

Show
Ignore:
Timestamp:
02/15/08 12:17:54 (5 months ago)
Author:
morris
Message:

Validate -copy:

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredAdditions/trunk/WITableViewManager.m

    r4990 r5272  
    535535 
    536536- (BOOL)validateMenuItem:(NSMenuItem *)item { 
    537         if([item action] == @selector(showViewOptions:)) 
     537        if([item action] == @selector(copy:)) 
     538                return ([[_tableView delegate] respondsToSelector:_shouldCopyInfo]); 
     539        else if([item action] == @selector(showViewOptions:)) 
    538540                return [self allowsUserCustomization]; 
    539541