Skip to content
Snippets Groups Projects
Commit 93d9587b authored by George Nachman's avatar George Nachman
Browse files

Allow the password manager to open as a sheet even if another sheet is already open. Issue 5667.

parent 81b4871c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4735,11 +4735,6 @@ ITERM_WEAKLY_REFERENCEABLE
inSession:(PTYSession *)session {
DLog(@"openPasswordManagerToAccountName:%@ inSession:%@", name, session);
[session reveal];
if (self.window.sheets.count > 0) {
DLog(@"This window has sheets so not opening pw manager: %@", self.window.sheets);
DLog(@"The last sheet's view hierarchy:\n%@", [[[self.window.sheets lastObject] contentView] iterm_recursiveDescription]);
return;
}
DLog(@"Show the password manager as a sheet");
iTermPasswordManagerWindowController *passwordManagerWindowController =
[[iTermPasswordManagerWindowController alloc] init];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment