aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}