mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Multiple selection.
This commit is contained in:
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
@@ -367,8 +367,10 @@
|
||||
|
||||
- (void) revealFile: (id) sender
|
||||
{
|
||||
if ([fFileTable numberOfSelectedRows] > 0)
|
||||
[[NSWorkspace sharedWorkspace] selectFile: [fFiles objectAtIndex: [fFileTable selectedRow]]
|
||||
NSIndexSet * indexSet = [fFileTable selectedRowIndexes];
|
||||
unsigned int i;
|
||||
for (i = [indexSet firstIndex]; i != NSNotFound; i = [indexSet indexGreaterThanIndex: i])
|
||||
[[NSWorkspace sharedWorkspace] selectFile: [fFiles objectAtIndex: i]
|
||||
inFileViewerRootedAtPath: nil];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user