Electron: Remove 'New notebook' shortcut

pull/660/head
Laurent Cozic 2018-06-21 19:12:08 +01:00
parent 7e3a290939
commit 936f334b61
2 changed files with 0 additions and 5 deletions

View File

@ -362,7 +362,6 @@ class Application extends BaseApplication {
}
}, {
label: _('New notebook'),
accelerator: 'CommandOrControl+Shift+B',
screens: ['Main'],
click: () => {
this.dispatch({

View File

@ -830,8 +830,6 @@ class NoteTextComponent extends React.Component {
destroyExternalEditWatcher() {
if (!this.externalEditWatcher_) return;
console.info(this.externalEditWatcher_);
this.externalEditWatcher_.off('noteChange', this.externalEditWatcher_noteChange);
this.externalEditWatcher_.stopWatchingAll();
this.externalEditWatcher_ = null;
@ -926,8 +924,6 @@ class NoteTextComponent extends React.Component {
end: { row: p.row, column: p.column + defaultText.length },
};
console.info('DDDDD', defaultText, newRange);
this.updateEditorWithDelay((editor) => {
if (defaultText && newRange) {
const range = this.selectionRange_;