14d734bf08
Fix handling of Note renames
...
We often use the note's filePath as a unique identifier, however that
can change, and we need to update the caches accordingly.
Fixes #97
2020-04-10 13:45:19 +02:00
f0eeefe125
SortedNotesFolder: Avoid calling sort again and again
...
For long lists of notes this could get very very expensive.
2020-03-08 04:00:27 +01:00
a98df20c77
Revert "NotesFolder: Add a notification for when a note changes"
...
This reverts commit f583d181c6c21f2e332a2468b19de47bca72b848.
This causes way too many rebuilds.
2020-02-14 08:26:51 +01:00
f583d181c6
NotesFolder: Add a notification for when a note changes
...
This way we can re-order the list when one of the notes changes a
specific property.
2020-02-14 07:41:49 +01:00
2711f1c4c9
Add a NotesFolderNotifier
...
This also implements the ChangeNotifier, but additional provides more
fine grained notifications. We neeed this in order to animate the list
of notes / folders when they change.
2020-02-01 13:20:29 +01:00