X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/d2a384947ca515dfbdc114c326e7ac4667c0397e..259ae5fac769954c7db5974b86e791a929fe6700:/PreferencesController.m diff --git a/PreferencesController.m b/PreferencesController.m index 61e0c11..6f8abfd 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -6,6 +6,7 @@ #import "StatusWindow.h" #import "StatusWindowController.h" #import "CustomMenuTableView.h" +#import "AudioscrobblerController.h" #import @@ -433,6 +434,7 @@ static PreferencesController *prefs = nil; [PreferencesController deleteKeychainItemForUser:currentAccount]; } [PreferencesController createKeychainItemForUser:newAccount andPassword:[audioscrobblerPasswordTextField stringValue]]; + [[AudioscrobblerController sharedController] attemptHandshake:YES]; } } else if ( [sender tag ] == 6030) { //Here we set the password for an existing keychain item or we create a new keychain item.