updating ideas on todo.org

This commit is contained in:
Chris Cochrun 2024-04-17 10:19:32 -05:00
parent 3b96885afd
commit b932f5a62b

View file

@ -35,6 +35,8 @@ I need to figure out how to make saving asynchronous in order to not lock the ui
Tokio seems to not be working the way I expected.... Tokio seems to not be working the way I expected....
Works much better with spawning an os thread.
** TODO [#B] Fix updating things in the song editor ** TODO [#B] Fix updating things in the song editor
[[file:~/dev/lumina/src/qml/presenter/SongEditor.qml::function updateLyrics(lyrics) {]] [[file:~/dev/lumina/src/qml/presenter/SongEditor.qml::function updateLyrics(lyrics) {]]
The core problem with this is that when we set the song, the index to get the item is the index of the item in the vector, not the ID in the DB. So, when we get a song, we can't use that index to update things, we need to make sure we are using the id so that all the new work in updating the right item is done correctly. The core problem with this is that when we set the song, the index to get the item is the index of the item in the vector, not the ID in the DB. So, when we get a song, we can't use that index to update things, we need to make sure we are using the id so that all the new work in updating the right item is done correctly.