mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
allow menu bar to be set in the settings
This commit is contained in:
@@ -32,6 +32,7 @@ ipcMain.on('config-renew', (e, payload) => {
|
||||
globalShortcut.unregisterAll()
|
||||
var { config } = payload
|
||||
|
||||
mainWindow.setMenuBarVisibility(config.ui.showMenuBar)
|
||||
var errors = []
|
||||
try {
|
||||
globalShortcut.register(config.hotkey.toggleMain, toggleMainWindow)
|
||||
|
||||
Reference in New Issue
Block a user