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 {
142
142
this . domNode . classList . add ( 'monaco-findInput' ) ;
143
143
const history = options . history || [ ] ;
144
144
145
- this . inputBox = new ContextScopedHistoryInputBox ( this . domNode , this . contextViewProvider , {
145
+ this . inputBox = this . _register ( new ContextScopedHistoryInputBox ( this . domNode , this . contextViewProvider , {
146
146
placeholder : options . placeholder ,
147
147
showPlaceholderOnFocus : options . showPlaceholderOnFocus ,
148
148
tooltip : options . tooltip ,
@@ -153,7 +153,7 @@ export class PatternInputWidget extends Widget {
153
153
history : new Set ( history ) ,
154
154
showHistoryHint : ( ) => showHistoryKeybindingHint ( this . keybindingService ) ,
155
155
inputBoxStyles : options . inputBoxStyles
156
- } , this . contextKeyService ) ;
156
+ } , this . contextKeyService ) ) ;
157
157
this . _register ( this . inputBox . onDidChange ( ( ) => this . _onSubmit . fire ( true ) ) ) ;
158
158
159
159
this . inputFocusTracker = dom . trackFocus ( this . inputBox . inputElement ) ;
You can’t perform that action at this time.
0 commit comments