diff --git a/src/components/App.js b/src/components/App.js index c358bbe02..4a9b82c71 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -2452,7 +2452,7 @@ class App extends Component { this.engineBusySyncing = false if (showErrorDialog) { - dialog.show(t(err.message), 'warning') + dialog.showMessageBox(t(err.message), 'warning') } else { throw err } diff --git a/src/menu.js b/src/menu.js index 21f1131e5..028e40dde 100644 --- a/src/menu.js +++ b/src/menu.js @@ -413,7 +413,7 @@ exports.build = function(props = {}) { { label: t('menu.engines', 'S&ynchronize'), accelerator: 'F6', - click: () => await sabaki.syncEngines({showErrorDialog: true}) + click: () => sabaki.syncEngines({showErrorDialog: true}) }, { label: t('menu.engines', 'Toggle A&nalysis'),