diff src/com/five_ten_sg/connectbot/HostEditorActivity.java @ 129:50e1dead04a1

host editor database values override summary text only if non-empty
author Carl Byington <carl@five-ten-sg.com>
date Thu, 19 Jun 2014 09:42:41 -0700
parents 377357365d68
children 2a0b10fd128d
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/HostEditorActivity.java	Thu Jun 19 09:42:09 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/HostEditorActivity.java	Thu Jun 19 09:42:41 2014 -0700
@@ -361,7 +361,7 @@
                 if (entryIndex >= 0) value = listPref.getEntries()[entryIndex];
             }
 
-            if ((value == null) || value.length() == 0)) value = summaries.get(key);
+            if ((value == null) || (value.length() == 0)) value = summaries.get(key);
             pref.setSummary(value);
         }
     }