You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Electron: Fixes #805: Fixed app freezing when opening note in external editor and then creating new note
This commit is contained in:
@@ -166,8 +166,10 @@ class Application extends BaseApplication {
|
|||||||
|
|
||||||
case 'NOTE_FILE_WATCHER_CLEAR':
|
case 'NOTE_FILE_WATCHER_CLEAR':
|
||||||
|
|
||||||
newState = Object.assign({}, state);
|
if (state.watchedNoteFiles.length) {
|
||||||
newState.watchedNoteFiles = [];
|
newState = Object.assign({}, state);
|
||||||
|
newState.watchedNoteFiles = [];
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user