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

Anthony Eid and dino created

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

Release Notes:

- N/A

Co-authored-by: dino <dinojoaocosta@gmail.com>

Change summary

crates/settings_ui/src/settings_ui.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes