Fix Ricerca globale

This commit is contained in:
Alhaziel01
2021-04-24 11:43:10 +02:00
parent c54790b2c4
commit 7f4928bcd8

View File

@@ -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: