mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +00:00
Ignore focus out on file overwrite prompt
This commit is contained in:
parent
5dd8318e0c
commit
d008566db4
|
@ -534,6 +534,7 @@ export class RemoteFileDialog {
|
|||
prompt.items = [{ label: no, value: false }, { label: nls.localize('remoteFileDialog.yes', 'Yes'), value: true }];
|
||||
prompt.title = message;
|
||||
prompt.placeholder = no;
|
||||
prompt.ignoreFocusOut = true;
|
||||
let isResolving = false;
|
||||
return new Promise<boolean>(resolve => {
|
||||
prompt.onDidAccept(() => {
|
||||
|
|
Loading…
Reference in a new issue