diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 09:42:40 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 09:42:40 -0700 |
commit | c334900517c2b015938718e9ac85f8762f74ca9f (patch) | |
tree | 749bcb9c54f24c42dde083d72138be8afad9365c | |
parent | 27ca2300b4b69ac7ec563f5a455dc7b69c1b7266 (diff) | |
download | dsub-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.java | 3 |
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);
|