mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/widget/listframe: change up/down to use setSelectedLine() (fix II)
This commit is contained in:
@@ -521,7 +521,7 @@ void CListFrame::scrollLineUp(const int lines)
|
|||||||
if( !(m_nMode & SCROLL)) return;
|
if( !(m_nMode & SCROLL)) return;
|
||||||
if( m_nNrOfLines <= 1) 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)
|
void CListFrame::scrollPageDown(const int pages)
|
||||||
|
Reference in New Issue
Block a user