aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-26 10:44:16 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-26 10:44:16 -0700
commit1470c813504c1bac2e5ece14cc2bfa1b7c0cad25 (patch)
tree79afded621fb45d56a0fc151aa1e53a5b14e973e /src
parent627eda88c2142c5d90b52fa4cbb0a85839007321 (diff)
downloaddsub-1470c813504c1bac2e5ece14cc2bfa1b7c0cad25.tar.gz
dsub-1470c813504c1bac2e5ece14cc2bfa1b7c0cad25.tar.bz2
dsub-1470c813504c1bac2e5ece14cc2bfa1b7c0cad25.zip
Fix error when downloadFile is null
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/view/SongView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/SongView.java b/src/github/daneren2005/dsub/view/SongView.java
index 0fe19944..630f747f 100644
--- a/src/github/daneren2005/dsub/view/SongView.java
+++ b/src/github/daneren2005/dsub/view/SongView.java
@@ -200,7 +200,7 @@ public class SongView extends UpdateView implements Checkable {
if(loaded) {
setObjectImpl(song, checkedTextView.getVisibility() == View.VISIBLE);
}
- if (downloadService == null) {
+ if (downloadService == null || downloadFile == null) {
return;
}