Skip to content

Commit d25e40b

Browse files
committed
Make commit message action quick pick ignore focus out only when back button is shown
- if unstaged file selector was not shown, we should not ignore focus out on 'commit message actions' └── apps └── editor └── src ├── commands │ └── generate-commit-message-commands │ ├── actions │ │ ├── get-prompt-data.ts │ │ └── run-generate-action.ts │ ├── generate-commit-message-commands.ts │ ├── index.ts │ └── utils │ ├── build-commit-message-prompt.ts │ ├── generate-commit-message-with-api.ts │ ├── get-commit-message-config.ts │ └── strip-wrapping-quotes.ts └── i18n └── translations └── commands └── generate-commit-message.ts
1 parent b732072 commit d25e40b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/editor/src/commands/generate-commit-message-commands/actions/run-generate-action.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const run_generate_action = async (params: {
155155
'common.action-quick-pick.placeholder',
156156
{ tokens: display_token_count(base_token_count) }
157157
)
158-
quick_pick.ignoreFocusOut = true
158+
quick_pick.ignoreFocusOut = show_back_button
159159

160160
const close_button = {
161161
iconPath: new vscode.ThemeIcon('close'),

0 commit comments

Comments
 (0)