# HG changeset patch # User Carl Byington # Date 1403135052 25200 # Node ID 91f80da38f964a0e5642da3589f719e7aa9aa471 # Parent 524f9d41e046bf1b9d4c535efec815d541c0b93e host editor database values override summary text only if non-empty diff -r 524f9d41e046 -r 91f80da38f96 src/com/five_ten_sg/connectbot/HostEditorActivity.java --- a/src/com/five_ten_sg/connectbot/HostEditorActivity.java Wed Jun 18 16:17:14 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/HostEditorActivity.java Wed Jun 18 16:44:12 2014 -0700 @@ -370,7 +370,7 @@ } String v = (String)value; - if (v.length() == 0) pref.setSummary(value); + if ((v != null) && (v.length() > 0)) pref.setSummary(value); } }