Skip to content

Commit

Permalink
fix #7888: specify when closure for Run Last Task keybinding
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
  • Loading branch information
akosyakov committed May 26, 2020
1 parent ca6b505 commit bd53a9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/task/src/browser/task-frontend-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ export class TaskFrontendContribution implements CommandContribution, MenuContri
registerKeybindings(keybindings: KeybindingRegistry): void {
keybindings.registerKeybinding({
command: TaskCommands.TASK_RUN_LAST.id,
keybinding: 'ctrlcmd+shift+k'
keybinding: 'ctrlcmd+shift+k',
when: '!textInputFocus || editorReadonly'
});
}

Expand Down

0 comments on commit bd53a9b

Please sign in to comment.