Preferences: Simplify combobox code

3 jobs for master in 3 minutes and 59 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #18057
run-appdata

00:00:06

passed #18056
run-tests

00:03:36

 
  Build
passed #18058
run-build

00:00:16