mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-17 13:38:11 +08:00
Sentry fix: when the web contents have crashed, we can’t mount a dialog to the window reliably
This commit is contained in:
parent
7db9258f5a
commit
b70e27a66a
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue