From 10213ad2c8da45e3a2edd951aaf4e9d44cb482eb Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Fri, 17 Feb 2017 23:31:49 +0900 Subject: [PATCH] Fix an issue where application menu is not updated when config is saved --- CHANGELOG.md | 1 + src/main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e32ec0..fee6d2ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ Release date: TBD - Fixed an issue where context menu appears many times after reloading - Fixed an issue where minimum window size is not set - Fixed an issue where Google login form is not working +- Fixed an issue where application menu is not updated when the config is saved in the settings page #### Windows - Fixed an issue where an unexpected window appears while install/uninstalling diff --git a/src/main.js b/src/main.js index f74fa7e3..d52aa23f 100644 --- a/src/main.js +++ b/src/main.js @@ -493,7 +493,7 @@ app.on('ready', () => { // Set application menu ipcMain.on('update-menu', (event, configData) => { - var aMenu = appMenu.createMenu(mainWindow, config); + var aMenu = appMenu.createMenu(mainWindow, configData); Menu.setApplicationMenu(aMenu); // set up context menu for tray icon