X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/a182eb127d3f864b1c7208658451f8a7e21aeed1..154ddd8b39891b174082df48f504f83d0a6a22d9:/PreferencesController.m?ds=inline diff --git a/PreferencesController.m b/PreferencesController.m index 6f18bc0..1aee038 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -192,6 +192,7 @@ static PreferencesController *prefs = nil; NS_ENDHANDLER } + [self resetRemotePlayerTextFields]; [window center]; [NSApp activateIgnoringOtherApps:YES]; [window performSelector:@selector(makeKeyAndOrderFront:) withObject:self afterDelay:0.0]; @@ -244,6 +245,7 @@ static PreferencesController *prefs = nil; [controller setServerStatus:state]; //Set server status } else if ( [sender tag] == 5015 ) { [df setObject:[sender stringValue] forKey:@"sharedPlayerName"]; + [[NetworkController sharedController] resetServerName]; } else if ( [sender tag] == 5020 ) { [df setBool:SENDER_STATE forKey:@"enableSharingPassword"]; } else if ( [sender tag] == 5030 ) {