X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/82086d6a95408227f929ca149591c6fc3962f043..1241f4136652ac9629457a83953d8f8bf3889bdd:/PreferencesController.m?ds=inline diff --git a/PreferencesController.m b/PreferencesController.m index 50f7397..c2767c2 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -215,7 +215,9 @@ static PreferencesController *prefs = nil; [df setBool:SENDER_STATE forKey:@"LaunchPlayerWithMT"]; } else if ( [sender tag] == 1030) { [df setInteger:[sender intValue] forKey:@"SongsInAdvance"]; - [[controller menuController] rebuildSubmenus]; + if ([[controller currentRemote] playerRunningState] == ITMTRemotePlayerRunning) { + [[controller menuController] rebuildSubmenus]; + } } else if ( [sender tag] == 1040) { // This will not be executed. Song info always shows the title of the song. // [df setBool:SENDER_STATE forKey:@"showName"];