changeset 35551:99a11b051705

Set track number after resetting playlist to first item. This is missing in r35640. (uiSetFile() clears track number.) Patch by by Hans-Dieter Kosch, hdkosch kabelbw de.
author ib
date Mon, 10 Dec 2012 01:50:02 +0000
parents d31d6a5c1e94
children 546350153838
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 10 01:46:50 2012 +0000
+++ b/gui/interface.c	Mon Dec 10 01:50:02 2012 +0000
@@ -852,6 +852,7 @@
 
                     curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0));
                     uiSetFile(curr->path, curr->name, STREAMTYPE_FILE);
+                    guiInfo.Track = 1;
                 }
             }