From ef50a52405dafbfb96988102633133096c3e2d2f Mon Sep 17 00:00:00 2001 From: Philip Weiss Date: Thu, 8 Feb 2018 10:33:47 -0800 Subject: [PATCH] add configurable: true to browserwindow.loadSettingsJSON --- src/main-process/atom-window.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main-process/atom-window.js b/src/main-process/atom-window.js index 8d700e379..d5d8b867a 100644 --- a/src/main-process/atom-window.js +++ b/src/main-process/atom-window.js @@ -57,8 +57,9 @@ class AtomWindow extends EventEmitter { Object.defineProperty(this.browserWindow, 'loadSettingsJSON', { get: () => JSON.stringify(Object.assign({ - userSettings: this.atomApplication.configFile.get() - }, this.loadSettings)) + userSettings: this.atomApplication.configFile.get(), + }, this.loadSettings)), + configurable: true }) this.handleEvents()