fix missed this => window (#2058)

This commit is contained in:
Benjamin Staneck 2017-08-09 04:37:05 +02:00 committed by Philippe Potvin
parent 263caa0659
commit e175df780a

View file

@ -36,7 +36,7 @@ module.exports = class Window {
const cfg_ = app.plugins.getDecoratedConfig();
// notify renderer
this.webContents.send('config change');
window.webContents.send('config change');
// notify user that shell changes require new sessions
if (cfg_.shell !== cfg.shell ||