From 50eacd96f944d8452d61a18b1bf4f8898694de8e Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 5 Dec 2020 12:06:39 +0100 Subject: [PATCH] Fix Ricerca Globale con mouse --- platformcode/globalsearch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platformcode/globalsearch.py b/platformcode/globalsearch.py index 0562cb69..642c88e3 100644 --- a/platformcode/globalsearch.py +++ b/platformcode/globalsearch.py @@ -38,6 +38,7 @@ EXIT = 10 BACKSPACE = 92 SWIPEUP = 531 CONTEXT = 117 +MOUSEMOVE = 107 # Container SEARCH = 1 @@ -404,6 +405,7 @@ class SearchWindow(xbmcgui.WindowXML): self.EPISODES.setVisible(False) self.SERVERS.setVisible(True) + def onAction(self, action): action = action.getId() focus = self.getFocusId() @@ -415,7 +417,7 @@ class SearchWindow(xbmcgui.WindowXML): pos = self.CHANNELS.getSelectedPosition() self.CHANNELS.selectItem(pos) - elif action in [LEFT, RIGHT] and focus in [CHANNELS] and self.CHANNELS.isVisible(): + elif action in [LEFT, RIGHT, MOUSEMOVE] and focus in [CHANNELS] and self.CHANNELS.isVisible(): items = [] name = self.CHANNELS.getSelectedItem().getLabel() subpos = int(self.CHANNELS.getSelectedItem().getProperty('position'))