diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index c14d5e9fa4..b74650d57a 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -395,6 +395,16 @@ class Application extends BaseApplication { }, { label: _('View'), submenu: [{ + label: _('Toggle sidebar'), + screens: ['Main'], + accelerator: 'F10', + click: () => { + this.dispatch({ + type: 'WINDOW_COMMAND', + name: 'toggleSidebar', + }); + } + }, { label: _('Toggle editor layout'), screens: ['Main'], accelerator: 'CommandOrControl+L', @@ -649,4 +659,4 @@ function app() { return application_; } -module.exports = { app }; \ No newline at end of file +module.exports = { app };