From ba9616506f877c0009c73d9779bcd3563ad75095 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 4 Jun 2018 13:29:01 -0700 Subject: [PATCH] Merge pull request #17464 from atom/extended-color-profile-bits Extend the color profile PR (#17380) --- src/main-process/atom-application.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main-process/atom-application.js b/src/main-process/atom-application.js index ed04f9182..cce859789 100644 --- a/src/main-process/atom-application.js +++ b/src/main-process/atom-application.js @@ -173,7 +173,8 @@ class AtomApplication extends EventEmitter { if (!this.configFilePromise) { this.configFilePromise = this.configFile.watch() this.disposable.add(await this.configFilePromise) - this.config.onDidChange('core.titleBar', this.promptForRestart.bind(this)) + this.config.onDidChange('core.titleBar', () => this.promptForRestart()) + this.config.onDidChange('core.colorProfile', () => this.promptForRestart()) } const optionsForWindowsToOpen = []