1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Electron: Fixes #535: Note preview was not always updated when it should

This commit is contained in:
Laurent Cozic 2018-05-21 15:29:35 +01:00
parent 9d915a916e
commit fd77671575

View File

@ -165,6 +165,8 @@ class NoteTextComponent extends React.Component {
this.lastLoadedNoteId_ = note ? note.id : null;
this.updateHtml(note && note.body ? note.body : '');
eventManager.on('alarmChange', this.onAlarmChange_);
eventManager.on('noteTypeToggle', this.onNoteTypeToggle_);
eventManager.on('todoToggle', this.onTodoToggle_);