From b2b62a4d362da8cc2c2071eeba6f06fcb996241f Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 26 Nov 2020 10:35:04 +0100 Subject: [PATCH] Fix SwipeUP e rimozione focus sui risultati --- platformcode/globalsearch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformcode/globalsearch.py b/platformcode/globalsearch.py index 595868bc..cccf088a 100644 --- a/platformcode/globalsearch.py +++ b/platformcode/globalsearch.py @@ -392,8 +392,8 @@ class SearchWindow(xbmcgui.WindowXML): index = xbmcgui.Dialog().contextmenu(context) if index > 0: xbmc.executebuiltin(context_commands[index]) - elif action == SWIPEUP: - self.focusID(CHANNELS) + elif action in [SWIPEUP]: + self.setFocusId(CHANNELS) elif action in [LEFT, RIGHT] and focus in [CHANNELS]: items = [] @@ -433,7 +433,7 @@ class SearchWindow(xbmcgui.WindowXML): self.RESULTS.addItems(items) self.RESULTS.selectItem(subpos) self.CHANNELS.getSelectedItem().setProperty('position', str(subpos)) - self.setFocusId(RESULTS) + # self.setFocusId(RESULTS) elif control_id in [BACK]: self.Back()