summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-10-10 12:57:34 +0200
committerArne Schwabe <arne@rfc2549.org>2015-10-10 12:57:34 +0200
commitb8f9b94aa7b23d8898da035d406bc3e3984b97f2 (patch)
treeb59da96d8acc6ee075996840f7e2618b9e241930 /main/src
parent24deec6b836ce3e38d8012d8ce3469335e73c7bc (diff)
Fix something something strange, update OpenVPN
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java b/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java
index 74c103f8..a8befcd7 100644
--- a/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java
+++ b/main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java
@@ -73,7 +73,10 @@ public class ConnectionsAdapter extends RecyclerView.Adapter<ConnectionsAdapter.
mConnectionsAdapter = connectionsAdapter;
- addListeners();
+
+ /* This is totally weird */
+ if (mRemoteSwitch!=null)
+ addListeners();
}
public void addListeners() {