#46860 make git delete popup modal

This commit is contained in:
Florian Traber
2018-04-01 09:39:41 +02:00
parent 397b45b76d
commit 67b3957473

View File

@@ -1205,7 +1205,7 @@ export class CommandCenter {
const message = localize('confirm force delete branch', "The branch '{0}' is not fully merged. Delete anyway?", name);
const yes = localize('delete branch', "Delete Branch");
const pick = await window.showWarningMessage(message, yes);
const pick = await window.showWarningMessage(message, { modal: true }, yes);
if (pick === yes) {
await run(true);