# HG changeset patch # User Carl Byington # Date 1403197051 25200 # Node ID adf9ca45675bceedeb33765dbec12590d3779896 # Parent 2a0b10fd128d2eed7ca3264e57f88cd07b192d29 host editor database values override summary text only if non-empty diff -r 2a0b10fd128d -r adf9ca45675b src/com/five_ten_sg/connectbot/HostEditorActivity.java --- a/src/com/five_ten_sg/connectbot/HostEditorActivity.java Thu Jun 19 09:56:25 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/HostEditorActivity.java Thu Jun 19 09:57:31 2014 -0700 @@ -357,7 +357,7 @@ } else if (pref instanceof ListPreference) { ListPreference listPref = (ListPreference) pref; - int entryIndex = listPref.findIndexOfValue(value); + int entryIndex = listPref.findIndexOfValue(value.toString()); if (entryIndex >= 0) value = listPref.getEntries()[entryIndex]; }