X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/82086d6a95408227f929ca149591c6fc3962f043..dc685d1d1cffcfd6bb95dd948c30f1dc315919e0:/PreferencesController.m 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"];