summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
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() {