johndrinkwater/ambient-noise

Fix current track pointer during `refresh_sound_files`

johndrinkwater opened this issue · 0 comments

Noted in 2948463, there is a bug with tracking the current track when noise files are updated and are located before the current track in the sorted list, it pushes the pointer further down the list.
Need to capture the current track here and restore it here