From: Kent Sutherland Date: Sun, 13 Jul 2003 19:19:04 +0000 (+0000) Subject: Launch player with MenuTunes now works. X-Git-Tag: v1.0~90 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/5e389de804c3d5c3321eec98bedae258529b9aab Launch player with MenuTunes now works. --- diff --git a/MainController.m b/MainController.m index d7dfa6f..6d7fe08 100755 --- a/MainController.m +++ b/MainController.m @@ -71,7 +71,14 @@ static MainController *sharedController; if ([currentRemote playerRunningState] == ITMTRemotePlayerRunning) { [self applicationLaunched:nil]; } else { - [self applicationTerminated:nil]; + if ([df boolForKey:@"LaunchPlayerWithMT"]) + { + [self showPlayer]; + } + else + { + [self applicationTerminated:nil]; + } } [statusItem setImage:[NSImage imageNamed:@"menu"]];