diff options
Diffstat (limited to 'src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts')
-rw-r--r-- | src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts b/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts index bad36b7ccad..57a34f2c7d0 100644 --- a/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts +++ b/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.ts @@ -122,11 +122,14 @@ class BulkEditPreviewContribution { const choice = await this._dialogService.show( Severity.Info, localize('overlap', "Another refactoring is being previewed."), - [localize('cancel', "Cancel"), localize('continue', "Continue")], - { detail: localize('detail', "Press 'Continue' to discard the previous refactoring and continue with the current refactoring.") } + [localize('continue', "Continue"), localize('cancel', "Cancel")], + { + detail: localize('detail', "Press 'Continue' to discard the previous refactoring and continue with the current refactoring."), + cancelId: 1 + } ); - if (choice.choice === 0) { + if (choice.choice === 1) { // this refactoring is being cancelled return []; } |