aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-05 15:39:35 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-05 15:39:35 -0700
commit34ed769e6e766e9c6ef9ad6c267f1be998f4a0f5 (patch)
treedc1f703182519e59f65d91fb7e74fc2b70f7ca52 /src/github
parent54092d4c42a9e7444c6261009ba56c5ec638c087 (diff)
downloaddsub-34ed769e6e766e9c6ef9ad6c267f1be998f4a0f5.tar.gz
dsub-34ed769e6e766e9c6ef9ad6c267f1be998f4a0f5.tar.bz2
dsub-34ed769e6e766e9c6ef9ad6c267f1be998f4a0f5.zip
#148 On now playing list, lock a single entry into a DownloadFile
This is to get around issues where you can have a single Entry with multiple DownloadFile's in the now playing list.
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/view/DownloadFileAdapter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/DownloadFileAdapter.java b/src/github/daneren2005/dsub/view/DownloadFileAdapter.java
index f9676dbd..f535acef 100644
--- a/src/github/daneren2005/dsub/view/DownloadFileAdapter.java
+++ b/src/github/daneren2005/dsub/view/DownloadFileAdapter.java
@@ -42,6 +42,7 @@ public class DownloadFileAdapter extends ArrayAdapter<DownloadFile> {
}
DownloadFile downloadFile = getItem(position);
view.setObject(downloadFile.getSong(), false);
+ view.setDownloadFile(downloadFile);
return view;
}
}