libsaria: Scroll playlist when iterator is reset

This allows me to scroll the recent tracks list back to the beginning.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-03-26 18:32:34 -04:00
parent 319d68e8d2
commit ee2191fc4f
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ namespace libsaria
void Playlist::reset_iterator()
{
cur = plist.begin();
RENDER(goto_index(0));
}
unsigned int Playlist::find_cur_index()