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 @@ -22,7 +22,7 @@ export class CheckboxQuickPick {
2222 this . confirm = "$(check)" ;
2323 this . checkboxOn = "[ x ]" ;
2424 this . checkboxOff = "[ ]" ;
25- this . confirmPlaceHolder = "Select 'Confirm' to confirm" ;
25+ this . confirmPlaceHolder = "Select 'Confirm' to confirm change; Press 'esc' key to cancel changes " ;
2626 }
2727
2828 public show ( callback : ( options : CheckboxQuickPickItem [ ] ) => void ) : void {
@@ -58,11 +58,11 @@ export class CheckboxQuickPick {
5858
5959 private getQuickPickItems ( tempOptions : CheckboxQuickPickItem [ ] ) : QuickPickItem [ ] {
6060 let quickPickItems : QuickPickItem [ ] = [ ] ;
61+ quickPickItems . push ( { label : this . confirm , description : "Confirm" } ) ;
6162 tempOptions . forEach ( option =>
6263 quickPickItems . push ( {
6364 label : this . convertToCheckBox ( option . isSelected ) , description : option . name
6465 } ) ) ;
65- quickPickItems . push ( { label : this . confirm , description : "Confirm" } ) ;
6666 return quickPickItems ;
6767 }
6868
You can’t perform that action at this time.
0 commit comments