aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-03 20:37:30 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-03 20:37:30 -0700
commit732021e3d0a3d6c37b684b46b2a425c036b33e66 (patch)
treed739f32464392e7b379533fe20e0198952bbda14 /src/github
parent40c7ae97624f8233e3954e3e9b03046451cf114d (diff)
downloaddsub-732021e3d0a3d6c37b684b46b2a425c036b33e66.tar.gz
dsub-732021e3d0a3d6c37b684b46b2a425c036b33e66.tar.bz2
dsub-732021e3d0a3d6c37b684b46b2a425c036b33e66.zip
Don't allow update to run until after first refresh
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/fragments/DownloadFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index 9f592b6e..a72ef8da 100644
--- a/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -176,7 +176,7 @@ public class DownloadFragment extends SelectListFragment<DownloadFile> {
private void update() {
DownloadService downloadService = getDownloadService();
- if (downloadService == null) {
+ if (downloadService == null || objects == null || adapter == null) {
return;
}