return true after Addon has been notified of OnClick or OnAction
authorspiff_ <spiff_@svn>
Wed, 3 Nov 2010 20:45:41 +0000 (20:45 +0000)
committerspiff_ <spiff_@svn>
Wed, 3 Nov 2010 20:45:41 +0000 (20:45 +0000)
(cherry picked from commit b3e0fabda77155461ef067044e51589e45a09771)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35159 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/lib/libPython/xbmcmodule/GUIPythonWindowXML.cpp

index eef8488..b69c2b5 100644 (file)
@@ -180,6 +180,7 @@ bool CGUIPythonWindowXML::OnMessage(CGUIMessage& message)
             // aquire lock?
             PyXBMC_AddPendingCall(m_threadState, Py_XBMC_Event_OnClick, inf);
             PulseActionEvent();
+            return true;
           }
           else if (controlClicked->IsContainer() && message.GetParam1() == ACTION_MOUSE_RIGHT_CLICK)
           {
@@ -189,6 +190,7 @@ bool CGUIPythonWindowXML::OnMessage(CGUIMessage& message)
             // aquire lock?
             PyXBMC_AddPendingCall(m_threadState, Py_XBMC_Event_OnAction, inf);
             PulseActionEvent();
+            return true;
           }
         }
       }