Fix an issue where application menu is not updated when config is saved

This commit is contained in:
Yuya Ochiai 2017-02-17 23:31:49 +09:00
parent e4d1ab2938
commit 10213ad2c8
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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