mirror of https://github.com/laurent22/joplin.git
Electron: Remove 'New notebook' shortcut
parent
7e3a290939
commit
936f334b61
|
@ -362,7 +362,6 @@ class Application extends BaseApplication {
|
|||
}
|
||||
}, {
|
||||
label: _('New notebook'),
|
||||
accelerator: 'CommandOrControl+Shift+B',
|
||||
screens: ['Main'],
|
||||
click: () => {
|
||||
this.dispatch({
|
||||
|
|
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue