Trying to change the password for an identity which only uses non-password authentication methods left KerberosAgent with a spinning progress indicator. Problem was with auth sheet not being ended.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20935
dc483132-0cff-0310-8789-
dd5450dbe970
- (IBAction) cancelTicketOptions: (id) sender;
- (IBAction) saveTicketOptions: (id) sender;
+- (IBAction) cancelAuthSheet: (id) sender;
+
- (void) authSheetDidEnd: (NSWindow *) sheet
returnCode: (int) returnCode
contextInfo: (void *) contextInfo;
[NSApp endSheet:ticketOptionsSheet];
}
+- (IBAction) cancelAuthSheet: (id) sender
+{
+ [NSApp endSheet:[self window]];
+}
+
- (void) authSheetDidEnd: (NSWindow *) sheet
returnCode: (int) returnCode
contextInfo: (void *) contextInfo
[self.currentInfo addEntriesFromDictionary:info];
self.state = ipc_client_state_select;
+ if ([[self.authController window] isVisible]) {
+ [self.authController cancelAuthSheet:nil];
+ }
+
[self.selectController setContent:self.currentInfo];
[self.selectController showWindow:nil];