Desktop: Fixes #3019: Title auto-update didn't work anymore

Revert "Desktop: Resolves #2681: Clear provisional flag as soon as note is modified to avoid data loss"

This reverts commit 518af9dc0a.
pull/3023/head
Laurent Cozic 2020-04-11 10:48:05 +01:00
parent 36e23d6432
commit 456d979aa6
1 changed files with 0 additions and 7 deletions

View File

@ -513,13 +513,6 @@ class NoteTextComponent extends React.Component {
}
scheduleSave() {
if (this.state.note && this.props.provisionalNoteIds.includes(this.state.note.id)) {
this.props.dispatch({
type: 'NOTE_PROVISIONAL_FLAG_CLEAR',
id: this.state.note.id,
});
}
if (this.scheduleSaveTimeout_) clearTimeout(this.scheduleSaveTimeout_);
this.scheduleSaveTimeout_ = setTimeout(() => {
this.saveIfNeeded();