settings_ui: Fix missing list state reset causing panic (#40497)

Closes #40467

Release Notes:

- N/A *or* Added/Fixed/Improved ...
375a404132Ben Kunkle committed on 10/17/2025, 6:56:20 PM· committed by GitHubparent27dcdb5
1 file changedLine totals unavailable