This commit is contained in:
Dylan Hurd
2026-02-17 16:12:11 -08:00
parent c08ddd0227
commit 590e84acba
4 changed files with 2 additions and 8 deletions
-3
View File
@@ -2354,9 +2354,6 @@ impl App {
));
}
}
AppEvent::OpenApprovalsPopup => {
self.chat_widget.open_approvals_popup();
}
AppEvent::OpenAgentPicker => {
self.open_agent_picker().await;
}
-3
View File
@@ -277,9 +277,6 @@ pub(crate) enum AppEvent {
#[cfg_attr(not(target_os = "windows"), allow(dead_code))]
SkipNextWorldWritableScan,
/// Re-open the approval presets popup.
OpenApprovalsPopup,
/// Open the skills list popup.
OpenSkillsList,
+1 -1
View File
@@ -5664,7 +5664,7 @@ impl ChatWidget {
name: "Go back".to_string(),
description: None,
actions: vec![Box::new(|tx| {
tx.send(AppEvent::OpenApprovalsPopup);
tx.send(AppEvent::OpenPermissionsPopup);
})],
dismiss_on_select: true,
..Default::default()
+1 -1
View File
@@ -215,7 +215,7 @@ fn windows_permissions_actions(
pub(crate) fn windows_degraded_sandbox_enabled(config: &Config) -> bool {
let windows_sandbox_level =
codex_core::windows_sandbox::windows_sandbox_level_from_config(config);
matches!(windows_sandbox_level, WindowsSandboxLevel::RestrictedToken);
matches!(windows_sandbox_level, WindowsSandboxLevel::RestrictedToken)
}
#[cfg(target_os = "windows")]