summaryrefslogtreecommitdiff
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
parent24deec6b836ce3e38d8012d8ce3469335e73c7bc (diff)
Fix something something strange, update OpenVPN
m---------main/openvpn0
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/ConnectionsAdapter.java5
2 files changed, 4 insertions, 1 deletions
diff --git a/main/openvpn b/main/openvpn
-Subproject f4b1ce320a187967f70d33a8c104bddefe40238
+Subproject a0720c827f4c3ab0523ea9bf963efd3da6c87e9
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() {