mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-02 12:47:41 +02:00
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
.
This commit is contained in:
parent
36e23d6432
commit
456d979aa6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user