@@ -95,11 +95,11 @@ FocusScope {
95 KeyNavigation.down: sections
95 KeyNavigation.down: sections
97 onAccepted: {
97 onAccepted: {
98+ if (searchField.displayText != "" && listLoader.item) {
98− // In case there is no currentItem (it might have been filtered away) lets reset it to the first item
99+ // In case there is no currentItem (it might have been filtered away) lets reset it to the first item
99− if (listLoader.item && !listLoader.item.currentItem) {
100+ if (!listLoader.item.currentItem) {
100− listLoader.item.currentIndex = 0;
101+ listLoader.item.currentIndex = 0;
102− if (searchField.displayText != "" && listLoader.item && listLoader.item.currentItem) {
103 root.applicationSelected(listLoader.item.getFirstAppId());
103 root.applicationSelected(listLoader.item.getFirstAppId());