aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-29 17:58:21 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-29 17:58:21 -0700
commitb0b3636a441ec63ac4c5d957ce9987c70eed8cd2 (patch)
tree606ecedde046d234d416b8bf47b7e2ea0cc1360f /src/github
parent707c4682e48ca7e36ca34dceb0c271f783ab273a (diff)
downloaddsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.tar.gz
dsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.tar.bz2
dsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.zip
Fix another case where index is not properly updated
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index a21bbd91..7c23f595 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -544,6 +544,8 @@ public class DownloadService extends Service {
if(currentPlaying == downloadFile) {
reset();
}
+
+ currentPlayingIndex = downloadList.indexOf(currentPlaying);
}
}
lifecycleSupport.serializeDownloadQueue();