changeset 35560:1a2200a93ea8

Make DVD stop if manually advancing beyond last chapter of last track. CD and VCD behave the same way.
author ib
date Mon, 10 Dec 2012 13:53:50 +0000
parents 14e36699a6e7
children 8889d320734f
files gui/ui/actions.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Mon Dec 10 12:49:40 2012 +0000
+++ b/gui/ui/actions.c	Mon Dec 10 13:53:50 2012 +0000
@@ -430,6 +430,7 @@
 
             if (++guiInfo.Track > guiInfo.Tracks) {
                 guiInfo.Track = guiInfo.Tracks;
+                guiInfo.Chapter = guiInfo.Chapters;
                 stop = True;
             }
         }