gui/widget/listframe: change up/down to use setSelectedLine() (fix II)

Origin commit data
------------------
Commit: 139becd4f9
Author: martii <m4rtii@gmx.de>
Date: 2013-07-20 (Sat, 20 Jul 2013)
This commit is contained in:
martii
2013-07-20 16:22:54 +02:00
committed by [CST] Focus
parent 73ad318f29
commit 502730deca

View File

@@ -521,7 +521,7 @@ void CListFrame::scrollLineUp(const int lines)
if( !(m_nMode & SCROLL)) return;
if( m_nNrOfLines <= 1) return;
setSelectedLine((m_nNrOfLines - lines + m_nSelectedLine - 1) % m_nNrOfLines);
setSelectedLine((m_nSelectedLine - lines + m_nNrOfLines) % m_nNrOfLines);
}
void CListFrame::scrollPageDown(const int pages)