From c353686eaa880af914c8c32c9e59b73beeff7df6 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 16 Jan 2021 17:49:42 +0100 Subject: [PATCH] Fix Ricerca Globale --- specials/globalsearch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index 234ca622..66ccc96f 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -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