mirror of https://github.com/keeweb/keeweb.git
fix #351: error alert on power shutdown
This commit is contained in:
parent
b65f71da5e
commit
d74bc86b29
|
@ -226,8 +226,10 @@ function mainWindowBlur() {
|
|||
}
|
||||
|
||||
function emitBackboneEvent(e, arg) {
|
||||
arg = JSON.stringify(arg);
|
||||
mainWindow.webContents.executeJavaScript(`Backbone.trigger('${e}', ${arg});`);
|
||||
if (mainWindow && mainWindow.webContents) {
|
||||
arg = JSON.stringify(arg);
|
||||
mainWindow.webContents.executeJavaScript(`Backbone.trigger('${e}', ${arg});`);
|
||||
}
|
||||
}
|
||||
|
||||
function setMenu() {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
Release notes
|
||||
-------------
|
||||
##### v1.3.2 (WIP)
|
||||
`-` fix #351: error alert on power shutdown
|
||||
|
||||
##### v1.3.1 (2016-09-02)
|
||||
`-` fix #337: storage sync error
|
||||
|
|
Loading…
Reference in New Issue