Only list played songs in the statistics song list

Songs never played are left out of the song list, so the Show menu is
hidden while it is shown.
This commit is contained in:
Sansan committed 2026-10-09 17:10:21 +02:00
1 parent a4e6da4c28
commit 84e137e16a
4 files changed
+464 -471

No files matched your search

+2
View File
@@ -267,6 +267,8 @@ func run(on_state: Callable) -> void:
statistics_view.apply_filter()
await _settle()
await on_state.call("statistics_search", statistics_view)
# Chrono Trigger has never been played, so the song list searches for another
statistics_view.search_field.text = "zelda"
statistics_view.set_mode(StatisticsView.Mode.SONGS)
await _settle()
await on_state.call("statistics_songs_search", statistics_view)