Fix an issue where application menu is not updated when config is saved
This commit is contained in:
parent
e4d1ab2938
commit
10213ad2c8
|
@ -26,6 +26,7 @@ Release date: TBD
|
||||||
- Fixed an issue where context menu appears many times after reloading
|
- 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 minimum window size is not set
|
||||||
- Fixed an issue where Google login form is not working
|
- 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
|
#### Windows
|
||||||
- Fixed an issue where an unexpected window appears while install/uninstalling
|
- Fixed an issue where an unexpected window appears while install/uninstalling
|
||||||
|
|
|
@ -493,7 +493,7 @@ app.on('ready', () => {
|
||||||
|
|
||||||
// Set application menu
|
// Set application menu
|
||||||
ipcMain.on('update-menu', (event, configData) => {
|
ipcMain.on('update-menu', (event, configData) => {
|
||||||
var aMenu = appMenu.createMenu(mainWindow, config);
|
var aMenu = appMenu.createMenu(mainWindow, configData);
|
||||||
Menu.setApplicationMenu(aMenu);
|
Menu.setApplicationMenu(aMenu);
|
||||||
|
|
||||||
// set up context menu for tray icon
|
// set up context menu for tray icon
|
||||||
|
|
Loading…
Reference in a new issue