From 921f01d9dc068983780bbf2770dc6095a3660f6e Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Wed, 6 Mar 2019 22:22:37 +0000 Subject: [PATCH] Desktop: Fixed regression on external edit --- ElectronClient/app/ElectronAppWrapper.js | 2 +- ElectronClient/app/app.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ElectronClient/app/ElectronAppWrapper.js b/ElectronClient/app/ElectronAppWrapper.js index d5051b72b9..f5688742ba 100644 --- a/ElectronClient/app/ElectronAppWrapper.js +++ b/ElectronClient/app/ElectronAppWrapper.js @@ -80,7 +80,7 @@ class ElectronAppWrapper { })) // Uncomment this to view errors if the application does not start - if (this.env_ === 'dev') this.win_.webContents.openDevTools(); + // if (this.env_ === 'dev') this.win_.webContents.openDevTools(); this.win_.on('close', (event) => { // If it's on macOS, the app is completely closed only if the user chooses to close the app (willQuitApp_ will be true) diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index 16bd63bd88..306fb43b0f 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -907,6 +907,7 @@ class Application extends BaseApplication { ExternalEditWatcher.instance().setLogger(reg.logger()); ExternalEditWatcher.instance().dispatch = this.store().dispatch; + ExternalEditWatcher.instance().preload(); } }