diff options
author | Martijn Kaijser <machine.sanctum@gmail.com> | 2014-08-26 10:11:41 +0200 |
---|---|---|
committer | Martijn Kaijser <machine.sanctum@gmail.com> | 2014-08-26 10:11:41 +0200 |
commit | afdbb56cf21f92bb39ab7240b83195ed990a27b4 (patch) | |
tree | 517568f19779654384c9e366e3da41a5b7d7f02b | |
parent | 407eb40180221d27d16cc071fd63b86a1447d9aa (diff) | |
parent | c3a7a2e654a0b5a6e83c8936b643536d1c3c3889 (diff) |
Merge pull request #5285 from maksqwe/gui_fix_listgroup_moveright
guilib: Fix CGUIListGroup::MoveRight()
-rw-r--r-- | xbmc/guilib/GUIListGroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/guilib/GUIListGroup.cpp b/xbmc/guilib/GUIListGroup.cpp index c57436013f..b7ba695684 100644 --- a/xbmc/guilib/GUIListGroup.cpp +++ b/xbmc/guilib/GUIListGroup.cpp @@ -212,9 +212,9 @@ bool CGUIListGroup::MoveRight() { for (iControls it = m_children.begin(); it != m_children.end(); it++) { - if ((*it)->GetControlType() == CGUIControl::GUICONTROL_MULTISELECT && ((CGUIMultiSelectTextControl *)(*it))->MoveLeft()) + if ((*it)->GetControlType() == CGUIControl::GUICONTROL_MULTISELECT && ((CGUIMultiSelectTextControl *)(*it))->MoveRight()) return true; - else if ((*it)->GetControlType() == CGUIControl::GUICONTROL_LISTGROUP && ((CGUIListGroup *)(*it))->MoveLeft()) + else if ((*it)->GetControlType() == CGUIControl::GUICONTROL_LISTGROUP && ((CGUIListGroup *)(*it))->MoveRight()) return true; } return false; |