aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-29 09:42:40 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-29 09:42:40 -0700
commitc334900517c2b015938718e9ac85f8762f74ca9f (patch)
tree749bcb9c54f24c42dde083d72138be8afad9365c
parent27ca2300b4b69ac7ec563f5a455dc7b69c1b7266 (diff)
downloaddsub-c334900517c2b015938718e9ac85f8762f74ca9f.tar.gz
dsub-c334900517c2b015938718e9ac85f8762f74ca9f.tar.bz2
dsub-c334900517c2b015938718e9ac85f8762f74ca9f.zip
#251 Fix issue with wrong count showing
-rw-r--r--src/github/daneren2005/dsub/view/PlaylistSongView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/PlaylistSongView.java b/src/github/daneren2005/dsub/view/PlaylistSongView.java
index 873470bc..53e9fafc 100644
--- a/src/github/daneren2005/dsub/view/PlaylistSongView.java
+++ b/src/github/daneren2005/dsub/view/PlaylistSongView.java
@@ -65,6 +65,9 @@ public class PlaylistSongView extends UpdateView {
@Override
protected void updateBackground() {
+ // Make sure to reset when starting count
+ count = 0;
+
// Don't try to lookup playlist for Create New
if(!"-1".equals(playlist.getId())) {
MusicDirectory cache = FileUtil.deserialize(context, Util.getCacheName(context, "playlist", playlist.getId()), MusicDirectory.class);