mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
correct a dictionary for opening a torrent with a sheet
This commit is contained in:
@@ -887,8 +887,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
{
|
||||
if (code == NSOKButton)
|
||||
{
|
||||
NSDictionary * dictionary = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
[panel filenames], @"Files", [useOptions boolValue] ? ADD_SHOW_OPTIONS : ADD_NORMAL, @"UseOptions", nil];
|
||||
NSDictionary * dictionary = [[NSDictionary alloc] initWithObjectsAndKeys: [panel filenames], @"Filenames",
|
||||
[NSNumber numberWithInt: [useOptions boolValue] ? ADD_SHOW_OPTIONS : ADD_NORMAL], @"AddType", nil];
|
||||
[self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user