From b70e27a66aad02029cde20f61bd3e646de7a898b Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Sun, 16 Jun 2019 13:55:03 -0500 Subject: [PATCH] =?UTF-8?q?Sentry=20fix:=20when=20the=20web=20contents=20h?= =?UTF-8?q?ave=20crashed,=20we=20can=E2=80=99t=20mount=20a=20dialog=20to?= =?UTF-8?q?=20the=20window=20reliably?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/browser/mailspring-window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/browser/mailspring-window.ts b/app/src/browser/mailspring-window.ts index 1e6fea432..2c06acea8 100644 --- a/app/src/browser/mailspring-window.ts +++ b/app/src/browser/mailspring-window.ts @@ -298,7 +298,7 @@ export default class MailspringWindow extends EventEmitter { if (this.neverClose) { this.browserWindow.reload(); } else { - const chosen = dialog.showMessageBox(this.browserWindow, { + const chosen = dialog.showMessageBox({ type: 'warning', buttons: ['Close Window', 'Reload', 'Keep It Open'], message: 'Mailspring has crashed',