From 7f4928bcd8103bdbde2ba601ea0170ab323398e5 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 24 Apr 2021 11:43:10 +0200 Subject: [PATCH] Fix Ricerca globale --- specials/globalsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index d907db94..8e6530d3 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -390,7 +390,7 @@ class SearchWindow(xbmcgui.WindowXML): self.CHANNELS.addItems(self.channels) self.CHANNELS.selectItem(pos) self.setFocusId(CHANNELS) - if valid: + if valid and self.CHANNELS.size(): item = self.CHANNELS.getListItem(0) resultsList = item.getProperty('items') for result in valid: