File tree 1 file changed +9
-4
lines changed
arduino-ide-extension/src/browser/theia/workspace 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,17 @@ export class WorkspaceInputDialog extends TheiaWorkspaceInputDialog {
14
14
constructor (
15
15
@inject ( WorkspaceInputDialogProps )
16
16
protected override readonly props : WorkspaceInputDialogProps ,
17
- @inject ( LabelProvider ) protected override readonly labelProvider : LabelProvider
17
+ @inject ( LabelProvider )
18
+ protected override readonly labelProvider : LabelProvider
18
19
) {
19
20
super ( props , labelProvider ) ;
20
- this . appendCloseButton (
21
- nls . localize ( 'vscode/issueMainService/cancel' , 'Cancel' )
22
- ) ;
21
+ if ( this . acceptButton ) {
22
+ this . controlPanel . removeChild ( this . acceptButton ) ;
23
+ this . appendCloseButton (
24
+ nls . localize ( 'vscode/issueMainService/cancel' , 'Cancel' )
25
+ ) ;
26
+ this . appendAcceptButton ( ) ;
27
+ }
23
28
}
24
29
25
30
protected override appendParentPath ( ) : void {
You can’t perform that action at this time.
0 commit comments