aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/org/connectbot/HostEditorFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/org/connectbot/HostEditorFragment.java b/app/src/main/java/org/connectbot/HostEditorFragment.java
index b5555a6..6646b4a 100644
--- a/app/src/main/java/org/connectbot/HostEditorFragment.java
+++ b/app/src/main/java/org/connectbot/HostEditorFragment.java
@@ -156,6 +156,7 @@ public class HostEditorFragment extends Fragment {
for (int i = 0; i < transportNames.length; i++) {
if (transportNames.equals(mHost.getProtocol())) {
mTransportSpinner.setSelection(i);
+ break;
}
}
mTransportSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {