Merge branch 'master' into configurable-hotkeys

This commit is contained in:
Levi Portenier 2026-02-04 11:31:16 -07:00 committed by GitHub
commit 974ca4ecc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1490 additions and 787 deletions

View file

@ -2934,6 +2934,15 @@ impl Application for App {
self.core.window.show_context = !self.core.window.show_context;
self.pane_model.update_terminal_focus();
#[cfg(feature = "password_manager")]
if ContextPage::PasswordManager == context_page {
if self.core.window.show_context {
self.password_mgr.pane = Some(self.pane_model.focused());
return self.password_mgr.refresh_password_list();
} else {
self.password_mgr.clear();
}
}
return self.update_focus();
} else {
self.context_page = context_page;
@ -2968,12 +2977,8 @@ impl Application for App {
#[cfg(feature = "password_manager")]
if ContextPage::PasswordManager == context_page {
if self.core.window.show_context {
self.password_mgr.pane = Some(self.pane_model.focused());
return self.password_mgr.refresh_password_list();
} else {
self.password_mgr.clear();
}
self.password_mgr.pane = Some(self.pane_model.focused());
return self.password_mgr.refresh_password_list();
}
}
Message::UpdateDefaultProfile((default, profile_id)) => {