Fix Ricerca Globale

This commit is contained in:
Alhaziel01
2021-01-16 17:49:42 +01:00
parent ecb8fc910b
commit c353686eaa

View File

@@ -520,6 +520,7 @@ class SearchWindow(xbmcgui.WindowXML):
elif action in [EXIT]:
self.Close()
close_action = True
xbmc.sleep(500)
def onClick(self, control_id):
global close_action
@@ -699,7 +700,7 @@ class SearchWindow(xbmcgui.WindowXML):
else:
self.Focus(SEARCH)
self.setFocusId(RESULTS)
self.RESULTS.selectItem(self.eppos)
self.RESULTS.selectItem(self.epos)
elif self.EPISODES.isVisible():
self.episodes = []
self.Focus(SEARCH)
@@ -718,6 +719,7 @@ class SearchWindow(xbmcgui.WindowXML):
busy(False)
self.close()
def context(self):
focus = self.getFocusId()
if focus == EPISODESLIST: # context on episode