From b392de720df0cb5b7c0aa95e0b519059a676c233 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Fri, 10 Oct 2003 12:12:02 +0000 Subject: [PATCH] Fixed the bug where hotkeys would not activate if iTunes was launched after MenuTunes. --- MainController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainController.m b/MainController.m index e62e62e..dd8c51d 100755 --- a/MainController.m +++ b/MainController.m @@ -773,6 +773,7 @@ static MainController *sharedController; { if (!note || [[[note userInfo] objectForKey:@"NSApplicationName"] isEqualToString:[currentRemote playerFullName]]) { ITDebugLog(@"Remote application launched."); + playerRunningState = ITMTRemotePlayerRunning; [currentRemote begin]; [self setLatestSongIdentifier:@""]; [self timerUpdate]; @@ -783,7 +784,6 @@ static MainController *sharedController; repeats:YES] retain]; //[NSThread detachNewThreadSelector:@selector(startTimerInNewThread) toTarget:self withObject:nil]; [self setupHotKeys]; - playerRunningState = ITMTRemotePlayerRunning; } } -- 2.20.1