mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
when opening multiple copies of the app, after the warning don't make the first copy active (in case that copy has been quit in between checking and responding to the dialog)
This commit is contained in:
parent
91910be7fb
commit
8729aba95f
1 changed files with 1 additions and 2 deletions
|
@ -124,8 +124,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
[alert runModal];
|
||||
[alert release];
|
||||
|
||||
//activate the already running instance, then kill ourselves right away
|
||||
[[NSWorkspace sharedWorkspace] launchApplication: [dic objectForKey: @"NSApplicationPath"]];
|
||||
//kill ourselves right away
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue