aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2013-02-01 12:19:46 +1300
committerS. Davilla <davilla@4pi.com>2013-02-19 11:44:03 -0500
commit25c7de7f2ec081b1320b649c18fcbda2be966472 (patch)
tree621b1dacf291d3cbedbe49532097ed67f20ac05c
parent8a2820f93da20b1a2e643b5a02708bc664cd9af0 (diff)
pick up only the select/click action in the scraper list in content settings dialog
-rw-r--r--xbmc/settings/GUIDialogContentSettings.cpp5
1 files changed, 5 insertions, 0 deletions
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();