diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 9a5d35b8..e885bf29 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -349,7 +349,7 @@ class NoteList extends React.Component { } dialog.showOpenDialog(remote.getCurrentWindow(), options, (filepaths) => { - this.addNotes(filepaths) + this.addNotesFromFiles(filepaths) }) } @@ -361,7 +361,7 @@ class NoteList extends React.Component { } // Add notes in the current folder - addNotes (filepaths) { + addNotesFromFiles (filepaths) { const { dispatch, location } = this.props const targetIndex = _.findIndex(this.notes, (note) => {