mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-30 16:50:30 -04:00
revert vscode cahnges (#4879)
This commit is contained in:
@@ -256,8 +256,8 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
||||
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KEY_K, KeyMod.CtrlCmd | KeyCode.KEY_E),
|
||||
handler: (accessor, args: any) => {
|
||||
const control = accessor.get(IEditorService).activeControl as IKeybindingsEditor;
|
||||
if (control && control instanceof KeybindingsEditor && control.activeKeybindingEntry.keybindingItem.keybinding) {
|
||||
control.defineWhenExpression(control.activeKeybindingEntry);
|
||||
if (control && control instanceof KeybindingsEditor && control.activeKeybindingEntry!.keybindingItem.keybinding) {
|
||||
control.defineWhenExpression(control.activeKeybindingEntry!);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -71,7 +71,7 @@ export function getSearchView(viewletService: IViewletService, panelService: IPa
|
||||
return (activePanel as SearchPanel).getSearchView();
|
||||
}
|
||||
|
||||
return null;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function doAppendKeyBindingLabel(label: string, keyBinding: ResolvedKeybinding | undefined): string {
|
||||
|
||||
Reference in New Issue
Block a user