File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { ICodeEditor } from 'vs/editor/browser/editorBrowser'
2020let isKeybindingConfigurationVisible = ( ) => {
2121 return false
2222}
23- let shouldUseGlobalPicker = ( _activeCodeEditor : ICodeEditor | null , _activeCodeEditorStandalone : boolean ) => {
23+ let shouldUseGlobalPicker = ( _activeCodeEditor : ICodeEditor , _activeCodeEditorStandalone : boolean ) => {
2424 return false
2525}
2626
@@ -52,7 +52,7 @@ class DelegateQuickInputService implements IQuickInputService {
5252 private get activeService ( ) : IQuickInputService {
5353 const activeCodeEditor = StandaloneServices . get ( ICodeEditorService ) . getFocusedCodeEditor ( )
5454
55- if ( shouldUseGlobalPicker ( activeCodeEditor , activeCodeEditor instanceof StandaloneCodeEditor ) ) {
55+ if ( activeCodeEditor == null || shouldUseGlobalPicker ( activeCodeEditor , activeCodeEditor instanceof StandaloneCodeEditor ) ) {
5656 return this . workbenchQuickInputService
5757 }
5858
You can’t perform that action at this time.
0 commit comments