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

pull/541/merge
Laurent Cozic 2018-05-21 15:29:35 +01:00
parent 9d915a916e
commit fd77671575
1 changed files with 2 additions and 0 deletions

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_);