diff options
author | jmarshallnz <jmarshallnz@svn> | 2009-11-10 02:32:50 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2009-11-10 02:32:50 +0000 |
commit | 6046766f92ebdfb99d44d28e175a7a00a054fba8 (patch) | |
tree | f49a65e6153c1a9d6d941dea180c20009b931d6d /guilib/GUIBaseContainer.cpp | |
parent | f6d9ab0cba5bba9f10b421b7ed082fcc475a4177 (diff) |
changed: Don't react to GUI_MSG_LABEL_ADD in the containers. Respond only to a python message (as that's the only place it is used)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24480 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIBaseContainer.cpp')
-rw-r--r-- | guilib/GUIBaseContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIBaseContainer.cpp b/guilib/GUIBaseContainer.cpp index 3770a0f82b..f9e1e51dc2 100644 --- a/guilib/GUIBaseContainer.cpp +++ b/guilib/GUIBaseContainer.cpp @@ -295,7 +295,7 @@ bool CGUIBaseContainer::OnMessage(CGUIMessage& message) SelectItem(message.GetParam1()); return true; } - if (message.GetMessage() == GUI_MSG_LABEL_ADD && message.GetItem()) + if (message.GetMessage() == GUI_MSG_ADD_PYTHON && message.GetItem()) { CGUIListItemPtr item = message.GetItem(); m_items.push_back(item); |