1
0
Fork 0
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:
Mitchell Livingston 2007-08-13 01:55:15 +00:00
parent 91910be7fb
commit 8729aba95f

View file

@ -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);
}
}