Changeset 2279
- Timestamp:
- Jul 3, 2007, 9:55:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/InfoWindowController.m
r2240 r2279 602 602 - (BOOL) validateMenuItem: (NSMenuItem *) menuItem 603 603 { 604 if ([fTorrents count] != 1)605 return NO;606 607 604 SEL action = [menuItem action]; 608 605 … … 613 610 if (action == @selector(setCheck:)) 614 611 { 612 if ([fFileOutline numberOfSelectedRows] <= 0) 613 return NO; 614 615 615 Torrent * torrent = [fTorrents objectAtIndex: 0]; 616 616 NSIndexSet * indexSet = [fFileOutline selectedRowIndexes], * itemIndexes; … … 632 632 if (action == @selector(setOnlySelectedCheck:)) 633 633 { 634 if ([fFileOutline numberOfSelectedRows] <= 0) 635 return NO; 636 634 637 Torrent * torrent = [fTorrents objectAtIndex: 0]; 635 638 NSIndexSet * indexSet = [fFileOutline selectedRowIndexes], * itemIndexes;
Note: See TracChangeset
for help on using the changeset viewer.