aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIPanelContainer.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-01-06 04:39:18 +0000
committerjmarshallnz <jmarshallnz@svn>2010-01-06 04:39:18 +0000
commit0498d2938afb198acf3226ce842ed1174aba49b6 (patch)
tree0007469449417996c408b181ffbe2baec0cc9b96 /guilib/GUIPanelContainer.cpp
parente76a6b06df349c60b53b1405526551b82a21e8c0 (diff)
changed: Don't set Container.OnNext/OnPrevious unless the list is actually moving due to a scroll
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26445 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIPanelContainer.cpp')
-rw-r--r--guilib/GUIPanelContainer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/guilib/GUIPanelContainer.cpp b/guilib/GUIPanelContainer.cpp
index 6d5b12d5a0..a429d19e5f 100644
--- a/guilib/GUIPanelContainer.cpp
+++ b/guilib/GUIPanelContainer.cpp
@@ -358,7 +358,6 @@ void CGUIPanelContainer::SetCursor(int cursor)
// +1 to ensure we're OK if we have a half item
if (cursor > (m_itemsPerPage + 1)*m_itemsPerRow - 1) cursor = (m_itemsPerPage + 1)*m_itemsPerRow - 1;
if (cursor < 0) cursor = 0;
- g_infoManager.SetContainerMoving(GetID(), cursor - m_cursor);
m_cursor = cursor;
}