From 25c7de7f2ec081b1320b649c18fcbda2be966472 Mon Sep 17 00:00:00 2001 From: Jonathan Marshall Date: Fri, 1 Feb 2013 12:19:46 +1300 Subject: pick up only the select/click action in the scraper list in content settings dialog --- xbmc/settings/GUIDialogContentSettings.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xbmc/settings/GUIDialogContentSettings.cpp b/xbmc/settings/GUIDialogContentSettings.cpp index 401951f425..b00710b067 100644 --- a/xbmc/settings/GUIDialogContentSettings.cpp +++ b/xbmc/settings/GUIDialogContentSettings.cpp @@ -78,6 +78,11 @@ bool CGUIDialogContentSettings::OnMessage(CGUIMessage &message) } if (iControl == CONTROL_SCRAPER_LIST) { + // we handle only select actions + int action = message.GetParam1(); + if (!(action == ACTION_SELECT_ITEM || action == ACTION_MOUSE_LEFT_CLICK)) + break; + CGUIMessage msg(GUI_MSG_ITEM_SELECTED,GetID(), CONTROL_SCRAPER_LIST); g_windowManager.SendMessage(msg); int iSelected = msg.GetParam1(); -- cgit v1.2.3