mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-10 01:29:17 +00:00
fix(worktree): add showWorktreeExitDialog to dialogsVisible
Phase C task 8 introduced showWorktreeExitDialog state and the dialog render in DialogManager, but missed adding the flag to the dialogsVisible OR expression. DefaultAppLayout only renders DialogManager when dialogsVisible is true, so the dialog was never shown — second Ctrl+C in a worktree silently absorbed instead of triggering the prompt. Caught by Group E E2E tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
97afde76a0
commit
e847bfce8b
1 changed files with 2 additions and 1 deletions
|
|
@ -2132,7 +2132,8 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
isHelpDialogOpen ||
|
||||
isExtensionsManagerDialogOpen ||
|
||||
isRewindSelectorOpen ||
|
||||
bgTasksDialogOpen;
|
||||
bgTasksDialogOpen ||
|
||||
showWorktreeExitDialog;
|
||||
dialogsVisibleRef.current = dialogsVisible;
|
||||
const shouldShowStickyTodos =
|
||||
stickyTodos !== null &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue