Problem filtering a list

Hello,

I’m trying to make a small application to search and launch applications (Maybe in the future I can add new stuff to search, but for the moment keep it simple), I’ve got the list loaded, and is filtering correctly, but somethimes when the list is reload, the searchField loose the focus, and I don’t know what provocates that.

the code is here:

Anyone had the same issue, Anyone can help me?

Thanks,
Jaume.

Is this the prevent newly added items steal focus on https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-searchfield.html/?

Thank you, I didn’t saw that reference when I created the list one year ago! :wink: