File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class CheckboxQuickPick {
22
22
this . confirm = "$(check)" ;
23
23
this . checkboxOn = "[ x ]" ;
24
24
this . checkboxOff = "[ ]" ;
25
- this . confirmPlaceHolder = "Select 'Confirm' to confirm" ;
25
+ this . confirmPlaceHolder = "Select 'Confirm' to confirm change; Press 'esc' key to cancel changes " ;
26
26
}
27
27
28
28
public show ( callback : ( options : CheckboxQuickPickItem [ ] ) => void ) : void {
@@ -58,11 +58,11 @@ export class CheckboxQuickPick {
58
58
59
59
private getQuickPickItems ( tempOptions : CheckboxQuickPickItem [ ] ) : QuickPickItem [ ] {
60
60
let quickPickItems : QuickPickItem [ ] = [ ] ;
61
+ quickPickItems . push ( { label : this . confirm , description : "Confirm" } ) ;
61
62
tempOptions . forEach ( option =>
62
63
quickPickItems . push ( {
63
64
label : this . convertToCheckBox ( option . isSelected ) , description : option . name
64
65
} ) ) ;
65
- quickPickItems . push ( { label : this . confirm , description : "Confirm" } ) ;
66
66
return quickPickItems ;
67
67
}
68
68
You can’t perform that action at this time.
0 commit comments