File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/search/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export class PatternInputWidget extends Widget {
142142 this . domNode . classList . add ( 'monaco-findInput' ) ;
143143 const history = options . history || [ ] ;
144144
145- this . inputBox = new ContextScopedHistoryInputBox ( this . domNode , this . contextViewProvider , {
145+ this . inputBox = this . _register ( new ContextScopedHistoryInputBox ( this . domNode , this . contextViewProvider , {
146146 placeholder : options . placeholder ,
147147 showPlaceholderOnFocus : options . showPlaceholderOnFocus ,
148148 tooltip : options . tooltip ,
@@ -153,7 +153,7 @@ export class PatternInputWidget extends Widget {
153153 history : new Set ( history ) ,
154154 showHistoryHint : ( ) => showHistoryKeybindingHint ( this . keybindingService ) ,
155155 inputBoxStyles : options . inputBoxStyles
156- } , this . contextKeyService ) ;
156+ } , this . contextKeyService ) ) ;
157157 this . _register ( this . inputBox . onDidChange ( ( ) => this . _onSubmit . fire ( true ) ) ) ;
158158
159159 this . inputFocusTracker = dom . trackFocus ( this . inputBox . inputElement ) ;
You can’t perform that action at this time.
0 commit comments