settings ui: Fix panic that occurred when changing the selected settings file (#39293)

The panic happened because navbar index wasn't updated when changing
files.

Release Notes:

- N/A

Co-authored-by: dino <dinojoaocosta@gmail.com>
3314de8175Anthony Eid committed on 10/1/2025, 6:54:06 PM· committed by GitHubparent6b907bd
1 file changedLine totals unavailable