mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Add the toggle sidebar option to the View app menu bar.
Towards #183 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
parent
dbb321a3cc
commit
34c65a686c
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user