aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIButtonControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUIButtonControl.cpp')
-rw-r--r--guilib/GUIButtonControl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIButtonControl.cpp b/guilib/GUIButtonControl.cpp
index cf2d8f2b8a..2ab710472b 100644
--- a/guilib/GUIButtonControl.cpp
+++ b/guilib/GUIButtonControl.cpp
@@ -134,7 +134,7 @@ void CGUIButtonControl::RenderText()
bool CGUIButtonControl::OnAction(const CAction &action)
{
- if (action.id == ACTION_SELECT_ITEM)
+ if (action.actionId == ACTION_SELECT_ITEM)
{
OnClick();
return true;
@@ -242,7 +242,7 @@ bool CGUIButtonControl::OnMouseEvent(const CPoint &point, const CMouseEvent &eve
if (event.m_id == ACTION_MOUSE_LEFT_CLICK)
{
CAction action;
- action.id = ACTION_SELECT_ITEM;
+ action.actionId = ACTION_SELECT_ITEM;
OnAction(action);
return true;
}