This commit is contained in:
LucasYuNju
2016-12-28 17:31:50 +08:00
parent 612d77c454
commit 492603273f
4 changed files with 16 additions and 14 deletions

View File

@@ -1977,19 +1977,17 @@ function setMacTopMenu() {
type: 'separator'
},
{
label: 'Summary View',
label: Api.getMsg('snippetView'),
type: "checkbox",
click: function() {
Config.view = 'summary';
Notebook.renderCurNotebook();
Api.writeConfig(Config);
Note.switchView('snippet');
},
},
{
label: 'List View',
label: Api.getMsg('listView'),
type: "checkbox",
click: function() {
Config.view = 'list';
Notebook.renderCurNotebook();
Api.writeConfig(Config);
Note.switchView('list');
},
},
]